Web service returns old values

Hallo, 
by using web service my project is remotely controled. The mapping data will be transferred using the shared variables.
The shared variables work perfectly, but the responce on the xml page (outputs: web_master_resp, web_scene_resp, web_action_resp and error code) always returns the old values which happened at the last url activity.
For instance, after sending "http://localhost:8080/webcontrol/scene/action" and following "http://localhost:8080/webcontrol/scene_1/action_1" the xml returns "scene" on "web_scene_resp"  and "action" on "web_action_resp"
what should i do to get the lastest values read?

hi,
just a guess: I'd try to use I instead of NUMC for the document numbers.
NUMC is no number but a character string with numeric characters only. only some display routines in SAP know that this string of numerals represents a number and omit leading zeroes.
my 2 cents,
anton

Similar Messages

  • ABAP-based web service returns numeric values with leading zeros

    Hi SOA experts,
    I have created a web service out of an ABAP function module. Beside other values, this service returns a list of document numbers. All of these numeric values are returned by the web service with leading zeros, but we do want these values w/o leading zeros.
    Any ideas how I can tell the web service to not print any leading zeros?
    Thanks in advance for your help!
    Kind regards, Matthias
    PS: The according function module does not print any leading zeros for the numeric values

    hi,
    just a guess: I'd try to use I instead of NUMC for the document numbers.
    NUMC is no number but a character string with numeric characters only. only some display routines in SAP know that this string of numerals represents a number and omit leading zeroes.
    my 2 cents,
    anton

  • Can MDM Web Services return qualifier values?

    We are running MDM 5.5 SP06 Patch04 (we will be doing a technical upgrade to MDM 7 later this year).
    I am investigating the MDM web services and came upon a potential problem. In the test harness, I searched for a record, specifying ALL for the result definition and everything seemed to come back except qualifiers; lookup values came back, taxonomy values came back, qualified lookup display values came back, qualified link ids came back, but no qualifier values.
    I searched again on the qualified link record ids in the qualified lookup table and I got the non-qualifiers, which is the expected behavior. The qualifiers have to come back with the main table record, though.
    Are qualifiers not fully supported in the MDM 5.5 web services, or am I not searching properly?
    Thanks for any help you can provide.
    Doug

    Hi Doug
    For me all  are working good.
    Can you look at pages 24-26 from "Portal content development guide"
    https://websmp201.sap-ag.de/~sapidb/011000358700001119612007E
    Regards
    Kanstantsin

  • What happens when a OUT parameter of a web-service returns an empty string

    Hi,
    Any idea on how to deal with the situation when a web-service returns an empty string
    I get the following System Exception:-
    Caused by: java.lang.AssertionError: Attempt to set empty javaType to ticketResponse(out,0) :: fuego.type.FuegoClass$LazyRef@6770f2. It must be null or a valid java type.
    It therefore either expects a null value or a valid java type...
    Since it goes into a system exception, the activity is not completed and nothing is inserted into the web-service..
    How do we resolve this error inside of BPM?

    Thanks Ben for your replies.
    Before I attempt changing a VI that was written by a client and make a total mess of it, there's something I'd like to point out.
    I tried the re-entrant VI approach and that didn't go any further than the VIT approach, and probably for the same reason(s).
    The interesting part is that (with the VIT approach) the same VIT is called by another process and it works fine.  It is just for the process that has it appear within 2 sub-panels.  So the issue is related to having either having two instances spawn at once of the same VIT or it is related to the sub-panels.  I think it is the two instances (or copies of the VIT) that causes LV to caugh...
    So you are trying to tell me that the above description is accurate and it is because of the private methods...??...
    How would I "wrap" those private methods into public ones?  The seems to be a piece of this puzzle that I am not yet grasping..
    Thanks for your patience and help.
    RayR

  • PLSQL web service returning multiple records

    Hello,
    I am trying to create a web service using oracle 11g which should be able to return multiple records.
    Based on hints and code samples found on the internet here is my code :
    CREATE OR REPLACE TYPE test_rec is OBJECT (
        s_nume_adre                    NUMBER ,
        c_eta_civi                     VARCHAR2(4 BYTE),
        l_nom1_comp                    VARCHAR2(40 BYTE),
        l_nom2_comp                    VARCHAR2(40 BYTE),
        l_nom3_comp                    VARCHAR2(40 BYTE),
        l_pren_comp                    VARCHAR2(30 BYTE),
        d_date_nais                    DATE);
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec;
    CREATE OR REPLACE PACKAGE test_pkg AS
      function get_rows(snume_adre in number) return test_array;
    END;
    CREATE OR REPLACE PACKAGE BODY test_pkg AS
      function get_rows(snume_adre in number) return test_array is
        v_rtn   test_array := test_array(null);
        v_first boolean := true;
        cursor c_get_rows(snume_adre in number) is
          SELECT a.s_nume_adre,
                 nvl(a.c_eta_civi, '') c_eta_civi,
                 nvl(a.l_nom1_comp, '') l_nom1_comp,
                 nvl(a.l_nom2_comp, '') l_nom2_comp,
                 nvl(a.l_nom3_comp, '') l_nom3_comp,
                 nvl(a.l_pren_comp, '') l_pren_comp,
                 nvl(a.d_date_nais, to_date('01.01.1900', 'dd.mm.yyyy')) d_date_nais
        FROM bro.z45 a
      where a.s_nume_adre = snume_adre or snume_adre is null;
      begin
        for rec in c_get_rows(snume_adre) loop
          if v_first then
            v_first := false;
          else
            v_rtn.extend;
          end if;
        v_rtn(v_rtn.last) := test_rec(rec.s_nume_adre, rec.c_eta_civi, rec.l_nom1_comp, rec.l_nom2_comp,
                                    rec.l_nom3_comp, rec.l_pren_comp, rec.d_date_nais);
        end loop;  
        return v_rtn;
      end;
    END;
    --select * from table (test_pkg.get_rows(null));
    I am able to retrieve the data using the select.
    However when I try to access its wsdl I get an error :
    <soap:Envelope>
       <soap:Body>
          <soap:Fault>
             <faultcode>soap:Client</faultcode>
             <faultstring>Error processing input</faultstring>
             <detail>
                <OracleErrors></OracleErrors>
             </detail>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>
    If I comment the function call in the package declaration I get a "correct" wsdl :
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="GET_ROWSInput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
       </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
      <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
           <soap:address location="http://server.domain.ch:8080/orawsv/TEST/TEST_PKG/GET_ROWS"/>
         </port>
      </service>
    </definitions>
    Any hint as how to create and access pl sql web service returning multiple rows?
    I don't use java and don't have access to tools like JDeveloper.
    Thanks!

    The actual issue is that collection types are not supported for return parameters.
    The solution is to wrap the collection into another object.
    Here's a working example based on your settings :
    CREATE OR REPLACE TYPE test_rec is OBJECT ( 
      empno  number(4)
    , ename  varchar2(10)
    , hiredate date
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec; 
    CREATE OR REPLACE TYPE test_array_wrapper is OBJECT ( arr test_array );
    CREATE OR REPLACE PACKAGE test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper; 
    END; 
    CREATE OR REPLACE PACKAGE BODY test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper is 
        results  test_array; 
      begin 
        select test_rec(empno, ename, hiredate)
        bulk collect into results
        from scott.emp
        where deptno = p_deptno;    
        return test_array_wrapper(results); 
      end; 
    END; 
    The wsdl is then generated correctly :
    SQL> select httpuritype('http://DEV:dev@localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS?wsdl').getxml() from dual;
    HTTPURITYPE('HTTP://DEV:DEV@LOCALHOST:8080/ORAWSV/DEV/TEST_PKG/GET_ROWS?WSDL').GETXML()
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_
    ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="CTEST_ARRAY_WRAPPER-GET_ROWSInput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="P_DEPTNO-NUMBER-IN" type="xsd:double"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="RETURN" type="tns:TEST_ARRAY_WRAPPERType"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:complexType name="TEST_ARRAY_WRAPPERType">
            <xsd:sequence>
              <xsd:element name="TEST_ARRAY_WRAPPER">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="ARR">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="TEST_REC" type="tns:TEST_REC_IntType" maxOccurs="unbounded" minOccurs="0"/>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
          <xsd:complexType name="TEST_REC_IntType">
            <xsd:sequence>
              <xsd:element name="EMPNO" type="xsd:double"/>
              <xsd:element name="ENAME">
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="HIREDATE" type="xsd:date"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:CTEST_ARRAY_WRAPPER-GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
        <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
          <soap:address location="http://localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS"/>
        </port>
      </service>
    </definitions>

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

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

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

  • Invoking a web service returning a arraylist of custom type

    Hi, I created a web service return a arraylist<InsertionSerialisable>.
    InsertionSerialisable can't be simpler here it is:
    public class InsertionSerialisable {
    public String nom = null;
    public String poids = null;
    I'm trying to use this arraylist in bpel but the returned parameter of my parter link for this web service is item of type anyType and I can't access my nom and poids string member. In a bpel process how can access member of custom element into an arraylist<InsertionSerialisable>?
    Here is my wsdl:
    <definitions
    name="ObtenirInsertions"
    targetNamespace="http://expedierdocument/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://expedierdocument/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://www.oracle.com/webservices/internal/literal"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://expedierdocument/"
    elementFormDefault="qualified" xmlns:tns="http://expedierdocument/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="InsertionSerialisable">
    <sequence>
    <element name="poids" type="string" nillable="true"/>
    <element name="nom" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertions" type="tns:obtenirInsertions"/>
    <complexType name="obtenirInsertions">
    <sequence>
    <element name="inExpInsPath" type="string" nillable="true"/>
    <element name="inIdentificationLettre" type="string" nillable="true"/>
    <element name="inSpecialite" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertionsResponse" type="tns:obtenirInsertionsResponse"/>
    <complexType name="obtenirInsertionsResponse">
    <sequence>
    <element name="return" type="ns1:arrayList" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://expedierdocument/"/>
    <complexType name="arrayList">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="ObtenirInsertions_obtenirInsertions">
    <part name="parameters" element="tns:obtenirInsertions"/>
    </message>
    <message name="ObtenirInsertions_obtenirInsertionsResponse">
    <part name="parameters" element="tns:obtenirInsertionsResponse"/>
    </message>
    <portType name="ObtenirInsertions">
    <operation name="obtenirInsertions">
    <input message="tns:ObtenirInsertions_obtenirInsertions"/>
    <output message="tns:ObtenirInsertions_obtenirInsertionsResponse"/>
    </operation>
    </portType>
    <binding name="ObtenirInsertionsSoapHttp" type="tns:ObtenirInsertions">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="obtenirInsertions">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ObtenirInsertions">
    <port name="ObtenirInsertionsSoapHttpPort" binding="tns:ObtenirInsertionsSoapHttp">
    <soap:address location="http://192.168.0.2:8888/Application1-ExpedierDocument-context-root/ObtenirInsertionsSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thank you!

    Hi, I created a web service return a arraylist<InsertionSerialisable>.
    InsertionSerialisable can't be simpler here it is:
    public class InsertionSerialisable {
    public String nom = null;
    public String poids = null;
    I'm trying to use this arraylist in bpel but the returned parameter of my parter link for this web service is item of type anyType and I can't access my nom and poids string member. In a bpel process how can access member of custom element into an arraylist<InsertionSerialisable>?
    Here is my wsdl:
    <definitions
    name="ObtenirInsertions"
    targetNamespace="http://expedierdocument/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://expedierdocument/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns0="http://www.oracle.com/webservices/internal/literal"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://expedierdocument/"
    elementFormDefault="qualified" xmlns:tns="http://expedierdocument/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://www.oracle.com/webservices/internal/literal">
    <import namespace="http://www.oracle.com/webservices/internal/literal"/>
    <complexType name="InsertionSerialisable">
    <sequence>
    <element name="poids" type="string" nillable="true"/>
    <element name="nom" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertions" type="tns:obtenirInsertions"/>
    <complexType name="obtenirInsertions">
    <sequence>
    <element name="inExpInsPath" type="string" nillable="true"/>
    <element name="inIdentificationLettre" type="string" nillable="true"/>
    <element name="inSpecialite" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="obtenirInsertionsResponse" type="tns:obtenirInsertionsResponse"/>
    <complexType name="obtenirInsertionsResponse">
    <sequence>
    <element name="return" type="ns1:arrayList" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.oracle.com/webservices/internal/literal"
    elementFormDefault="qualified" xmlns:tns="http://www.oracle.com/webservices/internal/literal"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://expedierdocument/"/>
    <complexType name="arrayList">
    <complexContent>
    <extension base="tns:list">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    </types>
    <message name="ObtenirInsertions_obtenirInsertions">
    <part name="parameters" element="tns:obtenirInsertions"/>
    </message>
    <message name="ObtenirInsertions_obtenirInsertionsResponse">
    <part name="parameters" element="tns:obtenirInsertionsResponse"/>
    </message>
    <portType name="ObtenirInsertions">
    <operation name="obtenirInsertions">
    <input message="tns:ObtenirInsertions_obtenirInsertions"/>
    <output message="tns:ObtenirInsertions_obtenirInsertionsResponse"/>
    </operation>
    </portType>
    <binding name="ObtenirInsertionsSoapHttp" type="tns:ObtenirInsertions">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="obtenirInsertions">
    <soap:operation soapAction=""/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ObtenirInsertions">
    <port name="ObtenirInsertionsSoapHttpPort" binding="tns:ObtenirInsertionsSoapHttp">
    <soap:address location="http://192.168.0.2:8888/Application1-ExpedierDocument-context-root/ObtenirInsertionsSoapHttpPort"/>
    </port>
    </service>
    </definitions>
    Thank you!

  • Web Service returning JCO.Table with no content

    Hello all,
    I've written a web service returning an object of type JCO.Table
    When I'm testing it in the Web Service Navigator the response contains two parameters: tabLength and row (current row number), but doesn't contain the content of the table.
    I tried testing the Web Service also from Webdynpro but its the same -
    the result contains a ComplexTypeJCOTable and from that object I can only get the tabLength and row.
    Anyone knows why is it happening?
    Thanks for your help, Adi.

    Hi Rajendrakumar Gaikwad,
    Thanks for your suggestion.
    I don't think this will be an efficient solution for me or for the web service clients.
    I'm still looking for an explanation why can't I get the JCO.Table content.
    Is it impossible for some reason or am I doing anything wrong?
    Thanks again, Adi.

  • Problem in fetching values from Java Web Service returning ArrayList

    Hi all,
    I am calling an External Java web Service from BPEL. That Java Web Service is returning an Arraylist.
    I am not able to assign the values returned by the Java web service to local String Variables of BPEL.
    Kindly help me...

    Hi,
    My problem has been resolved..
    I have used
    bpws:getVariableData('Invoke_1_useSSH_OutputVariable','parameters',concat('/ns7:useSSHResponseElement/ns7:result/ns8:item\[',bpws:getVariableData('count'),']'))
    where count is the local int variable which contains the index value of the arraylist i.e. which index element we want to retrieve from arraylist.
    Thanks....
    Edited by: user643533 on Sep 12, 2008 12:10 AM

  • Web service return value

    I have a web service and I'm cfdumping the return variable, but I don't know how to get the value out.  This is what it is giving me.
    1
    object of com.nextaxiom.www.soapservice.xsd1.APApprovalList
    Class Name
    com.nextaxiom.www.soapservice.xsd1.APApprovalList
    Methods
    Method
    Return Type
    equals(java.lang.Object)
    boolean
    getAlertDate()
    java.lang.String
    getDescription()
    java.lang.String
    getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)
    org.apache.axis.encoding.Deserializer
    getInvoiceAmount()
    java.lang.Double
    getPaymentReferenceNumber()
    java.lang.String
    getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)
    org.apache.axis.encoding.Serializer
    getTypeDesc()
    org.apache.axis.description.TypeDesc
    getUserName()
    java.lang.String
    getVendorName()
    java.lang.String
    hashCode()
    int
    setAlertDate(java.lang.String)
    void
    setDescription(java.lang.String)
    void
    setInvoiceAmount(java.lang.Double)
    void
    setPaymentReferenceNumber(java.lang.String)
    void
    setUserName(java.lang.String)
    void
    setVendorName(java.lang.String)
    void
    So some of this is the fields I want, but I want the value: description, alert date, invoice amt, etc.  Can anyone help me.  What do I need to do next to get the values?
    Here is my CF statement and the WSDL file.
    thanks for the help,
    BJ
    Invoke statement
                <cfinvoke
                                             webservice="http://127.0.0.1:8500/APApproval/GetAPApprovalList.wsdl"
                                             method="GetAPApprovalList" refreshwsdl="true"
                                             returnvariable="response">
                                                      <cfinvokeargument name="UserName" value="DAVBRY"/>
                                  </cfinvoke>
                <cfoutput>#response#</cfoutput>
    WSDL FILE
    <?xml version="1.0"?>
    <!--Automatically generated 10/07/2011 by Hyperservice Business Platform, NextAxiom Technology, Inc.-->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
        name="BSAPrototype.APApproval.GetAPApprovalList"
        targetNamespace="http://www.nextaxiom.com/soapservice/BSAPrototype.APApproval.GetAPApprovalList/wsdl"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://www.nextaxiom.com/soapservice/BSAPrototype.APApproval.GetAPApprovalList/wsdl"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.nextaxiom.com/soapservice/xsd1">
        <types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema"
                elementFormDefault="qualified" targetNamespace="http://www.nextaxiom.com/soapservice/xsd1">
                <element name="GetAPApprovalList">
                    <complexType>
                        <sequence>
                            <element name="UserName" type="string"/>
                        </sequence>
                    </complexType>
                </element>
                <element name="GetAPApprovalListResult">
                    <complexType>
                        <sequence>
                            <element maxOccurs="unbounded"
                                name="APApprovalList" type="xsd1:APApprovalList"/>
                        </sequence>
                    </complexType>
                </element>
                <complexType name="APApprovalList">
                    <sequence>
                        <element minOccurs="0" name="UserName" type="string"/>
                        <element minOccurs="0" name="AlertDate" type="string"/>
                        <element minOccurs="0" name="Description" type="string"/>
                        <element minOccurs="0" name="PaymentReferenceNumber" type="string"/>
                        <element minOccurs="0" name="InvoiceAmount" type="double"/>
                        <element minOccurs="0" name="VendorName" type="string"/>
                    </sequence>
                </complexType>
            </schema>
        </types>
        <message name="GetAPApprovalListRequest">
            <part element="xsd1:GetAPApprovalList" name="GetAPApprovalList"/>
        </message>
        <message name="GetAPApprovalListResponse">
            <part element="xsd1:GetAPApprovalListResult" name="GetAPApprovalListResult"/>
        </message>
        <portType name="BSAPrototype.APApproval.GetAPApprovalListSoapPort">
            <operation name="GetAPApprovalList">
                <input message="tns:GetAPApprovalListRequest"/>
                <output message="tns:GetAPApprovalListResponse"/>
            </operation>
        </portType>
        <binding name="BSAPrototype.APApproval.GetAPApprovalListSoapBinding" type="tns:BSAPrototype.APApproval.GetAPApprovalListSoapPort">
            <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <operation name="GetAPApprovalList">
                <soap:operation
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:doc?in=GetAPApprovalList?out=GetAPApprovalListResult?path=BSAPrototype.AP Approval.GetAPApprovalList"/>
                <input>
                    <soap:body use="literal"/>
                </input>
                <output>
                    <soap:body use="literal"/>
                </output>
            </operation>
        </binding>
        <service name="BSAPrototype.APApproval.GetAPApprovalList">
            <port
                binding="tns:BSAPrototype.APApproval.GetAPApprovalListSoapBinding" name="BSAPrototype.APApproval.GetAPApprovalListPort">
                <soap:address
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://nextaxb:7777/NXAServer/NextAxiomServer"/>
            </port>
        </service>
    </definitions>

    Getting complex objects back from web service calls are always tricky  - especially when they've been desearialized as an object.  We've found its a lot easier to deal with the Raw SOAP messages so at least we're working with an XML document, rather than a series of Getter functions, any of which that may return a NULL value (which does really unpleasant things to a CF variable).
    When you absolutely have to deal with a complex non-CF originating object in CF, we've found that you can actually use the underlying Java classes to identify and automatically execute the getter functions to effective dump out the variables.  We've rolled it up into a custom tag.  The base code for the logic is below:
    <cfset objVar = VARIABLE_CONTAINING_OBJECT_FROM_WEB_SERVICE>
    <cfset arrMethods = objVar.getClass().getMethods()>
    <cfoutput>
     <cfif isDefined("arrMethods") AND isArray(arrMethods) AND ArrayLen(arrMethods) gt 0>
     <table border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;border:1px solid black;">
     <tr>
     <td colspan="3" style="background-color:##CCCCCC;">RESULT</td>
     </tr>
     <tr>
     <td>Method</td>
     <td>Class</td>
     <td>Return Value</td>
     </tr>
     <cfset sComplexMethods = "">
    <cfloop from="1" to="#ArrayLen(arrMethods)#" index="iMethod"> 
     <cfset sReturnType = arrMethods[iMethod].getReturnType().toString()>
    <cfif ListFindNoCase("int,java.lang.String,class java.lang.String,double,float,char", sReturnType)> 
     <tr>
     <td>#arrMethods[iMethod].getName()#</td>
     <td>#sReturnType#</td>
     <cfset sReturnValue = EVALUATE("objVar." & arrMethods[iMethod].getName() & "()")>
     <td><cfif isDefined("sReturnValue") AND sReturnValue neq "">#sReturnValue#<cfelse> </cfif></td>
     </tr>
    </cfif>
    #sComplexMethods#
    </cfloop>
     </table>
    </cfif>
    </cfoutput>

  • How to retrieve web services return value

    I am using htmldb 2.0 and have created up the webservice reference. It's a simple web services, it will only return the string that I typed in one text area. Now my problem is that how can I print the string into my report area. In my webservice process, i just define the output of the webservices stored in one item in that page. Shall I write the value of that item to report region? Any ideas??
    Regards,
    Ke Lin

    Did you have any luck with this.
    I am having the same problem, I think, can set up the web service and it tests ok but when I run the process nothing happens, no values are passed back. Have checked the session state and nothing is there.
    Andrew

  • Error while consuming Web Service (returning XML ) in ABAP

    Hi,
    i am trying to consume a web service in ABAP. ( webservice which takes a request and return a XML string back).
    I created a proxy class in SE80. and i tested it successfully.
    When i tried to use the class in my program, it is giving dump.
    i am not sure what is the problem. I guess it is not able to handle null values in XML.if that is the case. how to handle it..

    The dump says:
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL      
    Error analysis                                                              
        An exception occurred that is explained in detail below.                
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught and                                                             
        therefore caused a runtime error.                                       
        The reason for the exception is:                                        
        You attempted to use a 'NULL' object reference (points to 'nothing')    
        access a component (variable: "LO_CLIENTPROXY").                        
        An object reference must point to an object (an instance of a class)    
        before it can be used to access components.                             
        Either the reference was never set or it was set to 'NULL' using the    
        CLEAR statement.                                                        
    I think this dump is because of the default value ( space) in some elements. How to avoide that.
    wheni catch CX_SY_REF_IS_INITIAL it is not giving any dump. But this is not my requirement. Because it is not getting anything into  response string.

  • Web service returning Document

    Hi,
    I need your help on this:
    I have a web service that returns a Document object (its an xml-SVG file).
    By direct call to the method "public static Document Chart(Object[] val) {"
    it returns a well formed file. When I try it returning a String it is also OK. When I return a Document it sent me errors (Sorry for the long list)
    The normal svg file is after the error message.
    Can you give me an example how to make a java client to request that xml Document and print it on the screen.
    // error
    org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
    at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
    at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:679)
    at org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java:1496)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
    at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
    at org.apache.soap.rpc.Call.invoke(Call.java:157)
    at cc432ass3.Client.main(Client.java:90)
    Caught SOAPException (SOAP-ENV:Protocol): <h1>Error: 500</h1>
    <h2>Location: /soap/servlet/rpcrouter</h2><b>Internal Servlet Error:</b><br><pre>javax.servlet.ServletException: Error building response en
    at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:345)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:536)
    </pre>
    <b>Root cause:</b>
    <pre>java.lang.IllegalArgumentException: No Serializer found to serialize a 'org.jdom.Document' using encoding style 'http://schemas.xmlsoa
    at org.apache.soap.util.xml.XMLJavaMappingRegistry.querySerializer(XMLJavaMappingRegistry.java:125)
    at org.apache.soap.encoding.SOAPMappingRegistry.querySerializer(SOAPMappingRegistry.java:297)
    at org.apache.soap.encoding.soapenc.ParameterSerializer.marshall(ParameterSerializer.java:98)
    at org.apache.soap.rpc.RPCMessage.marshall(RPCMessage.java:260)
    at org.apache.soap.Body.marshall(Body.java:141)
    at org.apache.soap.Envelope.marshall(Envelope.java:180)
    at org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java:343)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
    at org.apache.tomcat.core.Handler.service(Handler.java:287)
    at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
    at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
    at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
    at java.lang.Thread.run(Thread.java:536)
    </pre>
    // ==== here is the svg that I take by direct call
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.0//EN' 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
    <svg width="800" height="500">
         <text x="150" y="60" style="font-family: verdana, arial, sans-serif;font-size: 24;     
    font-weight: bold;fill: #0099ff; stroke: black;     
    stroke-width: 1">This is a PieChart For CC432 Assignment 3</text>
         <circle cx="310" cy="310" r="180" style="fill: black; fill-opacity:0.6;
    stroke:none; filter:url(#dropshadow)"/>
         <desc>This is a PieChart Solution For CC432 Assignment 3</desc>
         <path d="M300,300 L480,300 A180,180 0 0,0 405,155 Z" style="fill: #0000ff;stroke: black; stroke-width: 2"/>
         <rect x="550" y="150" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#0000ff"/>
         <text x="590" y="165" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 1 Data Set is 12.0</text>
         <path d="M300,300 L405,155 A180,180 0 0,0 134,232 Z" style="fill: #ffd700;stroke: black; stroke-width: 2"/>
         <rect x="550" y="180" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#ffd700"/>
         <text x="590" y="195" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 2 Data Set is 23.0</text>
         <path d="M300,300 L134,232 A180,180 0 1,0 480,300 Z" style="fill: #ff6347;stroke: black; stroke-width: 2"/>
         <rect x="550" y="210" width="30" height="20" style="stroke-linejoin: mitre; stroke - width: 2;
    stroke: black; fill:#ff6347"/>
         <text x="590" y="225" style="font-family:verdana, arial, sans-serif;
    font - size: 14; fill: black; stroke: none">The value of 3 Data Set is 45.0</text>
         <text x="550" y="480" style="font-family: verdana, arial, sans-serif;font-size: 14;     
    font-weight: bold;fill: #FF0000; stroke: black;     
    stroke-width: 1">my name</text>
    </svg>

    While returning the document u would have to encode the content using base64 or url encoder, then decode it after the xml is parsed.

  • Populating ComboBox with CFC web service return type query

    I am just now learning Flex and am attempting my first app (I have been a CFer for years).
    Anyway, I am attempting to build an AIR app in Flex that simply has a login with a form to submit information into a database.
    Things are going ok, except I am stumped at something that I think should be simple...populating a combo box. I have a CFC (I am using CFCs as a web service to drive the app) that contains a method that simply returns a query. I want to use the results to populate the combo box display and value. I created the combo box and then dragged the method to the box to have FB create the code. It populates the list but with just [object Object]. This is a piece of cake in CF but I am not stumbling across the correct syntax in Flex. Any pointers would be appreciated.
    Here is my current code.
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:users="services.users.*"
                           currentState="login"
                           xmlns:vinlookup="services.vinlookup.*"
                           xmlns:inventory="services.inventory.*"
                           creationComplete="init()">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.utils.ObjectUtil;
                /*Login Code----------------------------------*/
                private var loginrs:Object;
                //Failed to connect to the wsdl service
                private function GeneralFailed_Handler(e:FaultEvent):void
                    Alert.show(e.fault.faultString, "Error connecting to the service");
                //Login Handler
                protected function submitBtn_clickHandler(event:MouseEvent):void
                    loginUserResult.token = users.loginUser(userName.text, password.text);
                //Result Handler for Account Authentication
                private function loginUserResult_resultHandler(e:ResultEvent):void
                    //check the result
                    //Alert.show(ObjectUtil.toString(e.result),"Login Results")
                    loginrs = new Object();
                    loginrs = e.result;
                    if(loginrs['loggedin'] == 'Y')
                        currentState = 'insertInventory';
                    }else{
                        Alert.show("Try Again Please.");
                /*VIN Lookup Code----------------------------------*/
                private var vinrs:Object;
                //VIN Lookup Handler
                protected function VINSubmitbtn_clickHandler(event:MouseEvent):void
                    getvinInfoResult.token = vinlookup.getvinInfo(vin.text, "BASIC");
                //Result Handler for Account Authentication
                private function vinLookupResult_resultHandler(e:ResultEvent):void
                    //check the result
                    Alert.show(ObjectUtil.toString(e.result),"Lookup Results")
                    vinrs = new Object();
                    vinrs = e.result;
                    if(vinrs == null)
                        Alert.show("The VIN did not decode. Try Again Please.");
                    else
                        bodyStyle.text = vinrs['VARBODYSTYLE'];
                        //Alert.show("Yes!");
                /*Item Type Combo Box Code----------------------------------*/   
                protected function comboBox_creationCompleteHandler(event:FlexEvent):void
                    getItemtypeResult.token = inventory.getItemtype();
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="login"/>
            <s:State name="insertInventory"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="loginUserResult" result="loginUserResult_resultHandler(event)"/>
            <users:Users id="users" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getvinInfoResult" result="vinLookupResult_resultHandler(event)"/>
            <vinlookup:Vinlookup id="vinlookup" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <inventory:Inventory id="inventory" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getItemtypeResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Panel width="250" height="150" title="Login" horizontalCenter="0" verticalCenter="0" includeIn="login">
            <mx:Form width="100%" height="100%" horizontalCenter="0" verticalCenter="0">
                <mx:FormItem label="User Name">
                    <s:TextInput id="userName"/>
                </mx:FormItem>
                <mx:FormItem label="Password">
                    <s:TextInput id="password" displayAsPassword="true"/>
                </mx:FormItem>
                <mx:FormItem>
                    <s:Button label="Login" id="submitBtn" click="submitBtn_clickHandler(event)"/>
                </mx:FormItem>
            </mx:Form>
        </s:Panel>
        <s:Panel includeIn="insertInventory" width="400" height="400" title="Insert Inventory" horizontalCenter="0" verticalCenter="0">
            <mx:Form width="100%" height="100%" horizontalCenter="0" verticalCenter="0">
                <mx:FormItem label="VIN">
                    <s:TextInput id="vin"/>
                </mx:FormItem>
                <mx:FormItem id="vinSubmitbtn">
                    <s:Button label="Decode VIN" id="VINSubmitbtn" click="VINSubmitbtn_clickHandler(event)"/>
                </mx:FormItem>
                <mx:FormItem label="Body Style">
                    <s:TextInput id="bodyStyle"/>
                </mx:FormItem>
                <mx:FormItem label="Item Type">
                    <s:ComboBox id="comboBox" creationComplete="comboBox_creationCompleteHandler(event)">
                        <s:AsyncListView list="{getItemtypeResult.lastResult}"/>
                    </s:ComboBox>
                </mx:FormItem>
            </mx:Form>
        </s:Panel>
    </s:WindowedApplication>

    I figured it out with the help of the AS help. I switched to using a DropDownList and the first example in the help.

  • BPEL Process Manager says that My Simple Web Service returns null !

    Hi every body,
    I am deploying a process which invokes a simple web service (TheaterWS) running on Tomcat.This service simply accepts a string input and returns it concatenated with other string . I tested it with a client that I made with JDeveloper, every thing is O.K, But after deploying the process to a BPEL server, I got the following Assign Activity error on BPEL Console:
    ( Error in <assign> expression: <from>-Value is empty in row "43".The part "return" is Null, as shown in the following snippet:
    <Invoke_Theater_getBooked_OUT>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="return">null</part>
    </Invoke_Theater_getBooked_OUT>
    Here is my files:
    The TheaterBP.bpel
    <process name="TheaterBP" targetNamespace="http://xmlns.oracle.com/TheaterBP" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:client="http://xmlns.oracle.com/TheaterBP" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:TheaterBP" myRole="TheaterBPProvider" partnerRole="TheaterBPRequester"/>
    <partnerLink name="TheaterPartnerLink" partnerRole="TheaterWS_Role" partnerLinkType="ns2:TheaterWS_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:TheaterBPRequestMessage"/>
    <variable name="outputVariable" messageType="client:TheaterBPResponseMessage"/>
    <variable name="Invoke_Theater_getBooked_IN" messageType="ns2:getBookedRequest"/>
    <variable name="Invoke_Theater_getBooked_OUT" messageType="ns2:getBookedResponse"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:TheaterBP" operation="initiate" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:TheaterBPProcessRequest/client:input"/>
    <to variable="Invoke_Theater_getBooked_IN" part="a"/>
    </copy>
    </assign>
    <invoke name="Invoke_Theater" partnerLink="TheaterPartnerLink" portType="ns2:TheaterWS" operation="getBooked" inputVariable="Invoke_Theater_getBooked_IN" outputVariable="Invoke_Theater_getBooked_OUT"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_Theater_getBooked_OUT" part="return"/>
    <to variable="outputVariable" part="payload" query="/client:TheaterBPProcessResponse/client:result"/>
    </copy>
    </assign>
    <invoke name="callbackClient" partnerLink="client" portType="client:TheaterBPCallback" operation="onResult" inputVariable="outputVariable"/>
    </sequence>
    </process>
    </definitions>
    The TheaterPartenerLink1.wsdl
    targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" location="http://139.25.6.39:8080/axis/TheaterWS.jws?wsdl"/>
    <plnk:partnerLinkType name="TheaterWS_PL">
    <plnk:role name="TheaterWS_Role">
    <plnk:portType name="intf:TheaterWS"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    and here is the TheaterWS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://139.25.6.39:8080/axis/TheaterWS.jws-impl" xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="getBookedResponse">
    <wsdl:part name="return" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="getBookedRequest">
    <wsdl:part name="a" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="TheaterWS">
    <wsdl:operation name="getBooked" parameterOrder="a">
    <wsdl:input message="intf:getBookedRequest"/>
    <wsdl:output message="intf:getBookedResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TheaterWSSoapBinding" type="intf:TheaterWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getBooked">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:input>
    <wsdl:output>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TheaterWSService">
    <wsdl:port binding="intf:TheaterWSSoapBinding" name="TheaterWS">
    <wsdlsoap:address location="http://139.25.6.39:8080/axis/TheaterWS.jws"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I apprecitae any hints,

    Hi every body,
    I am deploying a process which invokes a simple web service (TheaterWS) running on Tomcat.This service simply accepts a string input and returns it concatenated with other string . I tested it with a client that I made with JDeveloper, every thing is O.K, But after deploying the process to a BPEL server, I got the following Assign Activity error on BPEL Console:
    ( Error in <assign> expression: <from>-Value is empty in row "43".The part "return" is Null, as shown in the following snippet:
    <Invoke_Theater_getBooked_OUT>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="return">null</part>
    </Invoke_Theater_getBooked_OUT>
    Here is my files:
    The TheaterBP.bpel
    <process name="TheaterBP" targetNamespace="http://xmlns.oracle.com/TheaterBP" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:client="http://xmlns.oracle.com/TheaterBP" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <partnerLinks>
    <partnerLink name="client" partnerLinkType="client:TheaterBP" myRole="TheaterBPProvider" partnerRole="TheaterBPRequester"/>
    <partnerLink name="TheaterPartnerLink" partnerRole="TheaterWS_Role" partnerLinkType="ns2:TheaterWS_PL"/>
    </partnerLinks>
    <variables>
    <variable name="inputVariable" messageType="client:TheaterBPRequestMessage"/>
    <variable name="outputVariable" messageType="client:TheaterBPResponseMessage"/>
    <variable name="Invoke_Theater_getBooked_IN" messageType="ns2:getBookedRequest"/>
    <variable name="Invoke_Theater_getBooked_OUT" messageType="ns2:getBookedResponse"/>
    </variables>
    <sequence name="main">
    <receive name="receiveInput" partnerLink="client" portType="client:TheaterBP" operation="initiate" variable="inputVariable" createInstance="yes"/>
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable" part="payload" query="/client:TheaterBPProcessRequest/client:input"/>
    <to variable="Invoke_Theater_getBooked_IN" part="a"/>
    </copy>
    </assign>
    <invoke name="Invoke_Theater" partnerLink="TheaterPartnerLink" portType="ns2:TheaterWS" operation="getBooked" inputVariable="Invoke_Theater_getBooked_IN" outputVariable="Invoke_Theater_getBooked_OUT"/>
    <assign name="Assign_2">
    <copy>
    <from variable="Invoke_Theater_getBooked_OUT" part="return"/>
    <to variable="outputVariable" part="payload" query="/client:TheaterBPProcessResponse/client:result"/>
    </copy>
    </assign>
    <invoke name="callbackClient" partnerLink="client" portType="client:TheaterBPCallback" operation="onResult" inputVariable="outputVariable"/>
    </sequence>
    </process>
    </definitions>
    The TheaterPartenerLink1.wsdl
    targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    >
    <import namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" location="http://139.25.6.39:8080/axis/TheaterWS.jws?wsdl"/>
    <plnk:partnerLinkType name="TheaterWS_PL">
    <plnk:role name="TheaterWS_Role">
    <plnk:portType name="intf:TheaterWS"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    and here is the TheaterWS.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:impl="http://139.25.6.39:8080/axis/TheaterWS.jws-impl" xmlns:intf="http://139.25.6.39:8080/axis/TheaterWS.jws" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:message name="getBookedResponse">
    <wsdl:part name="return" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="getBookedRequest">
    <wsdl:part name="a" type="xsd:string"/>
    </wsdl:message>
    <wsdl:portType name="TheaterWS">
    <wsdl:operation name="getBooked" parameterOrder="a">
    <wsdl:input message="intf:getBookedRequest"/>
    <wsdl:output message="intf:getBookedResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="TheaterWSSoapBinding" type="intf:TheaterWS">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getBooked">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:input>
    <wsdl:output>
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://139.25.6.39:8080/axis/TheaterWS.jws" use="encoded"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="TheaterWSService">
    <wsdl:port binding="intf:TheaterWSSoapBinding" name="TheaterWS">
    <wsdlsoap:address location="http://139.25.6.39:8080/axis/TheaterWS.jws"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I apprecitae any hints,

Maybe you are looking for

  • While opening images in PSE 8 error message is coming up

    I am receiving a "maximum size exceeded" message on many of my jpegs.  I am running Elements 8 under Windows 7 64 bit.  In a previou s configuration I was executing Elements 6 under a Windows XP OS.  In that configuration Adobe issued a fix in your k

  • Exporting different images to jpg (with different names)

    Dear Scripters, I KNOW I can script all this, but I need your help to find my way home- I have a doc made of 15 pages, each of these contains three or four instances of the same image, in different dimensions (iPhone, iPad, Android, Web, etc.). I pre

  • Why does it take CS4 Encore 2 days to transcode Blu-ray h.264 High Def

    I have been trying to create a Blu-ray disc for Days by adobe dynamic link from Adobe Premiere Pro. I have no problems with creating a DVD. I only have problems when I try sending over 1080i High Definition footage instead of Standard Definition. I w

  • Email in inbox doesn't link to corresponding email message

    starting yesterday, november 10, when i click on an email in my inbox sometimes it shows the correct email message and sometimes it shows a message from a long time ago. it is like the link from the inbox to the actual email is incorrect. has anyone

  • IMP: How to Read LOG Files

    Hey Gurus,    I want to read the log files after executing SE37 t-codes, I tried in sm21 but i didnt get any result.    Can U tell me how to read the log files ??    what is T-code for that? or i have change any settings???   Thanking You,     Regard