How to compress SOAP response generated by weblogic 7.x web service??

can anybody tell me how to compresse SOAP response generated by weblogic webservice before sending it to client. i have my handler chain to process that response but how to compress that response .My webservice generates response that contains lots of XML data ~25 mb size . it's taking time to reach it to client for that i wanted to compress it . How to do that?can anybody help me?
Thanks........
Rahul

Answered on my own:
Just have to use
x_result = http_client->response->get_data( ).
instead of
x_result = http_client->response->to_xstring( ).
Just don't knwo why the filesize is wrong also - but I can work with this image!

Similar Messages

  • SOAP Response Version Mismatch error with SAP web service

    My company just recently upgraded to SAP CRM 7.
    The old way of creating web services in SAP worked fine, but now, there is something a bit off with SAP.  When I call the web service the send returns a Fault Event with the error : SOAP Response Version Mismatch
    I had a simple web service created with only 1 text input and 1 text output to make sure that it wasn't the parameters or return type.  I got the same error.
    Searching on the forum or the web hasn't provided with any good answer to the issue.
    Any thoughts on this?

    Problem solved

  • Problem generating stubs for Java EJB web service deployed in OAS

    I created an EJB web service and I've successfully deployed it in my Oracle App Server. Some of the methods work fine but others produce the ff error:
    org.apache.soap.SOAPException - java.lang.IllegalArgumentException: No Serializer found to serialize [classname] using encoding style [encoding]It seems that the objects specified as parameters in the web service methods exposed are the only ones that had stubs generated for them. Other objects I use, which are usually wrapped inside a Vector, did not have generated stubs.
    Example:
         public String loginUser(UserDTO userDTO) throws RemoteException, NamingException, SQLException;
    public String addItems (Vector vecItems) throws RemoteException, NamingException, SQLException; // where vecItems is a collection of ItemDTO objects     In this scenario, stubs were generated for the UserDTO class, but not for the ItemDTO class. In effect, calling the addItems method resulted to the exception I mentioned above.
    I did a workaround wherein I declared a dummy method which accepted all the types of objects I needed as parameters so all the necessary stubs can be generated, but this fix doesn't feel like it's the proper solution to my problem.
    If anyone can help me, it would be greatly appreciated. Thanks!

    Crossposted:
    Problem generating stubs for Java EJB web service deployed in OAS

  • SOAP vs. XML-RPC for synchronous Web Services applications

    Hi everyone, I have to finish one project soon and I have to make a decision. Because I don't have much time I want to ask if anyone can answer me, what are the major differences bettween SOAP vs. XML-RPC for synchronous Web Services applications. I'll be very grateful if you help me!
    Thanks in advance!

    Come on guys i know you can help me, please don't hesitate to write some row

  • How to view SOAP header generated from XML Gateway  ?

    Hi All,
    I am using XML Gateway integrate EBS and trading partner using web services.
    Currently I am having problem with including wsse authorization information in the outbound message of EBS.
    I am able to view the payload in the transaction monitor but not able to check the SOAP header of message.
    How to view the current SOAP header generated by EBS and/or include the wsse information which are required by recipient trading partners ?
    Thanks in advance for your help.
    Regards,
    Ram

    No, this XML is the whole XI message and it is not sent by the SOAP (axis) adapter. If you want to see exactly what is sent, try checking it with the TCPGateway tool as advised on the SOAP FAQ note
    [Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=856597]
    Under question "Q: How can I trace the whole message?". Otherwise, on SXMB_MONI, try selecting the PAYLOAD item on the left menu and, on the payload on the right, right-click and select "VIEW SOURCE".

  • How to handle soap responses

    I am following this tutorial to handle SOAP responses but it does not work http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_6.html
    using code blew I am trying to parse the following soap response.
        <?xml version="1.0" encoding="utf-8"?>
        <s:Application 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:components="components.*"
                                         xmlns:hellos="services.hellos.*"
                                         height="957"  creationComplete="initApp()" >
                  <fx:Style source="Styles.css"/>
                  <fx:Script>
                            <![CDATA[
                                      import mx.controls.Alert;
                                      private namespace invesbot = "http://Services.com";
                                      use namespace invesbot;
                                      private namespace a = "http://schemas.xmlsoap.org/soap/envelope/";
                                      private namespace b = "http://www.w3.org/2001/XMLSchema";
                                      private namespace c = "http://www.w3.org/2001/XMLSchema-instance";
                                      use namespace a;
                                      use namespace b;
                                      use namespace c;
                                      [Bindable]
                                      var _result:*
                                      private function initApp():void
                                                myService.mycustomers();
                            ]]>
                  </fx:Script>
                  <fx:Declarations>
                            <mx:WebService id="myService" wsdl="http://localhost:8081/WebServiceTest/services/Hellos?wsdl"
                                                             showBusyCursor="true"
                                                             fault="Alert.show(event.fault.faultString), 'Error'">
                                      <mx:operation name="mycustomers" resultFormat="e4x">
                                                <mx:request>
                                                </mx:request>
                                      </mx:operation>
                            </mx:WebService>
                  </fx:Declarations>
        <mx:HBox>
                            <mx:Text
                                      text="{myService.mycustomers.lastResult.mycustomersReturn.name}"
                                      />
                  </mx:HBox>
        </s:Application>
    The SOAP response is as following
        <?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>
            <mycustomersResponse xmlns="http://Services.com">
              <mycustomersReturn>
                <age>28</age>
                <name>John</name>
              </mycustomersReturn>
              <mycustomersReturn>
                <age>29</age>
                <name>Alex</name>
              </mycustomersReturn>
              <mycustomersReturn>
                <age>30</age>
                <name>Jack</name>
              </mycustomersReturn>
            </mycustomersResponse>
          </soapenv:Body>
        </soapenv:Envelope>
    Using the above code the output will be
        <name xmlns="http://Services.com" 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">John</name>
        <name xmlns="http://Services.com" 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">Alex</name>
        <name xmlns="http://Services.com" 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">Jack</name>
    but when I use the following code to put the result in dropdown box it gives the following error
        <s:FormItem label="Employee:">
                            <s:DropDownList id="dropDownList3"
                                                                    labelField="name"
                                                                    dataProvider ="{myService.mycustomers.lastResult.mycustomersReturn}"/>
                  </s:FormItem>
    TypeError: Error #1034: Type Coercion failed: cannot convert XMLList@106e9af1 to mx.collections.IList.

    Hi Ashish,
    You can use Catch All error handler within scope of InvokeService action. By specifying SOAP Fault variable name there, response soap fault will be populated in variable.
    In 11g(As per observation), split joins are strict towards definition of input and output message based on WSDL of target service which causes exception for invalidMessage in InvokeService action.
    Hope this helps.

  • How to pass .txt file as an attachment to the web service (SOAP Attachment)

    Hi,
    I am creating web service using NetBeans 6.5 IDE and JAX-WS. I create a web application and then create web service using provided interface. I want to add .txt file as an attachment/parameter to the web service operation using "Add operation" interface. Don't want to add as an attachment to the SOAP message by creating it explicitly. IDE generates SOAP request and response automatically when the service is tested using "Test Web service" option. How can I add attcahment when I add operation so that it will appear in the generated SOAP message ?
    TIA.

    Hi AnitaDP,
    Attachment doesn't work in web service. You have to pass the content of the text file as a String or as an array of bytes to a method of your web service. From there, you may save the passed data in a file.

  • Urgent: Calling a WebLogic document type Web Service

    We have created an one-way, document type web service that works fine with the
    clientgen client. When sending the same SOAP message to the service from another
    client, it fails with: javax.xml.soap.SOAPException: failed to receive message:
    The other client recieves an HTTP 500.
    The signature for the service method is:
    public void getDiag(Diagnostic diag)
    Diagnostic is a complex type generated by autotype from a schema.
    The failing client builds the SOAP message and sends it to the WebLogic service
    using HttpURLConnection with the request method set to POST and content-type to
    text/xml.

    Is there any error on the server?
    Did the method on the end componet invoked?
    If you are using WLS 8.1, its better to use SAAJ
    instead of plain http url connection. Something like:
    SOAPConnectionFactory factory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection connection =
    factory.createConnection();
    SOAPMessage response =
    connection.call( request, targetURL );
    Here is a working example:
    http://manojc.com/?sample23
    RouterHandler.java
    Regards,
    -manoj
    http://manojc.com
    "Steve Watson" <[email protected]> wrote in message
    news:3ec13eeb$[email protected]..
    >
    We have created an one-way, document type web service that works fine withthe
    clientgen client. When sending the same SOAP message to the service fromanother
    client, it fails with: javax.xml.soap.SOAPException: failed to receivemessage:
    >
    The other client recieves an HTTP 500.
    The signature for the service method is:
    public void getDiag(Diagnostic diag)
    Diagnostic is a complex type generated by autotype from a schema.
    The failing client builds the SOAP message and sends it to the WebLogicservice
    using HttpURLConnection with the request method set to POST andcontent-type to
    text/xml.

  • NullPointerException in WebLogic while accessing web service from client

    Hi all,
    I have an SPML Web Service developed. The java class from WSDL was generated using wsdlc
    <wsdlc srcWsdl="schema/oracle_ws_spmlv2.wsdl" destJwsDir="${classes.dir}" type="JAXWS" explode="true"/>
    and then
    <jwsc classpath="..." classpathref="wls.jars" srcdir="src/main" destdir="${classes.dir}" keepGenerated="yes">
    <jws file="com/oracle/xmlns/idm/identity/webservice/spmlservice/SPMLService_SPMLServiceProviderSoapImpl.java" compiledWsdl="target/oracle_ws_spmlv2_wsdl.jar" type="JAXWS">
    <WLHttpTransport contextPath="OIMSPMLWebService" serviceUri="${ear.deployed.name}" portName="SPMLServiceProviderSoap"/>
    </jws>
    </jwsc>
    I have deployed the ear in WLS and generated the client classes.
    <clientgen wsdl="http://${weblogic.host}:${weblogic.port}/OIMSPMLWebService/OIMspmlxsd?WSDL" destDir="${classes.dir}" type="JAXWS"/>
    I run the client using java command from the terminal. First time, it runs fine. I get a valid response. But often, when I run it a second time, I get the following exception ... I need to undeploy and deploy the ear again. Any help will be appreciated!
    Following error appears.
    Error 500--Internal Server Error
    java.lang.NullPointerException
    at weblogic.wsee.jaxws.JAXWSDeployedServlet.init(JAXWSDeployedServlet.java:49)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
    at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:452)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:232)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    As a workaround I can start the application in debug mode, log into the Weblogic console and stop then restart the deployment and this issue goes away, sort of a pain but it does work.

  • SOAP Reliable Messaging (8.1) vs. Web Service Reliable Messaging (9.0)

    I am looking for the differences in implementation and user experience for two Reliable Messaging solutions ( besides that WL 9.0 implemented WS-RM Spec. ). In particular, when a Reliable Messaging transaction is committed and successfully complete, which consumer element/component on the receiver side gets the message and how ( I mean a run-time component which is not implemented by WL on the receiver side) ? Does the message stay in receiver side persistent storage until it is taken by the consumer element/component or it sits in memory only ?
    Docs in 8.1 version detailed how the SOAP RM worked while in 9.0 version such description is absent.
    Please, send your response to [email protected]
    Thank you in advance,
    - Michael

    Hi,
    i think its not possible to get the response of the return type as void. you just think in normal core java also, its not possible that. i think you must change in the web service. and one more thing are you developing the web service in java or .NET? if it in java its easy to change the return type. i am also new to java web service. i am giving what i know.
    Thanks

  • Generating wsdl:fault with Oracle Web Services

    What conditions are required to have Oracle Web Services throw a defined wsdl:fault over a soap:fault? Is there documentation on how to map these correctly from your java code? I can't seem to find anything in the documenation that discusses this and when using the WebServiceAssembler to generate WSDLs including an exception in a method signature does nothing to generate a wsdl section in the generated portType.
    Any pointers are appreciated.

    Hi,
    If a method throws Exceptions that are not instances / subclasses of java.rmi.RemoteException, then it's not a SOAP Fault, but a wsdl:fault. This is the manner in which JAX-RPC handles the Exceptions.
    Regards,
    Sandeep

  • How to pass an "object" as a parameter in an web services request?

    I am developing a simple web service client and server (using Eclipse for auto code generation). I am able to pass String and Byte array from the client. However, there is a parameter "statusInfo" which is an object of the class "cz.unmz.namespaces.csn369791.SendCertificatesRequestStatusInfo" and I have no idea of how to do so.
    Below is an extract of the wsdl file:
       <xs:element name="SendCertificatesRequest">
        <xs:complexType>
         <xs:sequence>
          <xs:element name="callerID" type="xs:string"/>
          <xs:element name="messageID" type="xs:string" minOccurs="0" maxOc-curs="1"/>
          <xs:element ref="certificateSequence"  minOccurs="0" maxOccurs="1"/>
          <xs:element name="statusInfo">
           <xs:simpleType>
            <xs:restriction base="xs:string">
             <xs:enumeration value="new_cert_available_notification"/>
             <xs:enumeration value="ok_cert_available"/>
             <xs:enumeration value="failure_inner_signature"/>
             <xs:enumeration value="failure_outer_signature"/>
             <xs:enumeration value="failure_syntax"/>
             <xs:enumeration value="failure_request_not_accepted"/>
             <xs:enumeration value="failure_internal_error"/>
            </xs:restriction>
           </xs:simpleType>
          </xs:element>
         </xs:sequence>
        </xs:complexType>
       </xs:element>Below is an extract of the auto-gen SendCertificatesRequest.java file:
       private java.lang.String callerID;
       private java.lang.String messageID;
       private byte[][] certificateSequence;
       private cz.unmz.namespaces.csn369791.SendCertificatesRequestStatusInfo statusInfo;
       public SendCertificatesRequest(
          java.lang.String callerID,
          java.lang.String messageID,
          byte[][] certificateSequence,
          cz.unmz.namespaces.csn369791.SendCertificatesRequestStatusInfo) {
          this.callerID = callerID;
          this.messageID = messageID;
          this.certificateSequence = certificateSequence;
          this.statusInfo = status = statusInfo;
       public void setStatusInfo(cz.unmz.namespaces.csn369791.SendCertificatesRequestStatusInfo) {
          this.statusInfo = statusInfo;
       Below is the auto-gen SendCertificatesRequest.java file:
    * SendCertificatesRequestStatusInfo.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
    package cz.unmz.namespaces.csn369791;
    public class SendCertificatesRequestStatusInfo implements java.io.Serializable {
        private java.lang.String _value_;
        private static java.util.HashMap _table_ = new java.util.HashMap();
        // Constructor
        protected SendCertificatesRequestStatusInfo(java.lang.String value) {
            _value_ = value;
            _table_.put(_value_,this);
        public static final java.lang.String _new_cert_available_notification = "new_cert_available_notification";
        public static final java.lang.String _ok_cert_available = "ok_cert_available";
        public static final java.lang.String _failure_inner_signature = "failure_inner_signature";
        public static final java.lang.String _failure_outer_signature = "failure_outer_signature";
        public static final java.lang.String _failure_syntax = "failure_syntax";
        public static final java.lang.String _failure_request_not_accepted = "failure_request_not_accepted";
        public static final java.lang.String _failure_internal_error = "failure_internal_error";
        public static final SendCertificatesRequestStatusInfo new_cert_available_notification = new SendCertificatesRequestStatusInfo(_new_cert_available_notification);
        public static final SendCertificatesRequestStatusInfo ok_cert_available = new SendCertificatesRequestStatusInfo(_ok_cert_available);
        public static final SendCertificatesRequestStatusInfo failure_inner_signature = new SendCertificatesRequestStatusInfo(_failure_inner_signature);
        public static final SendCertificatesRequestStatusInfo failure_outer_signature = new SendCertificatesRequestStatusInfo(_failure_outer_signature);
        public static final SendCertificatesRequestStatusInfo failure_syntax = new SendCertificatesRequestStatusInfo(_failure_syntax);
        public static final SendCertificatesRequestStatusInfo failure_request_not_accepted = new SendCertificatesRequestStatusInfo(_failure_request_not_accepted);
        public static final SendCertificatesRequestStatusInfo failure_internal_error = new SendCertificatesRequestStatusInfo(_failure_internal_error);
        public java.lang.String getValue() { return _value_;}
        public static SendCertificatesRequestStatusInfo fromValue(java.lang.String value)
              throws java.lang.IllegalArgumentException {
            SendCertificatesRequestStatusInfo enumeration = (SendCertificatesRequestStatusInfo)
                _table_.get(value);
            if (enumeration==null) throw new java.lang.IllegalArgumentException();
            return enumeration;
        public static SendCertificatesRequestStatusInfo fromString(java.lang.String value)
              throws java.lang.IllegalArgumentException {
            return fromValue(value);
        public boolean equals(java.lang.Object obj) {return (obj == this);}
        public int hashCode() { return toString().hashCode();}
        public java.lang.String toString() { return _value_;}
        public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);}
        public static org.apache.axis.encoding.Serializer getSerializer(
               java.lang.String mechType,
               java.lang.Class _javaType, 
               javax.xml.namespace.QName _xmlType) {
            return
              new org.apache.axis.encoding.ser.EnumSerializer(
                _javaType, _xmlType);
        public static org.apache.axis.encoding.Deserializer getDeserializer(
               java.lang.String mechType,
               java.lang.Class _javaType, 
               javax.xml.namespace.QName _xmlType) {
            return
              new org.apache.axis.encoding.ser.EnumDeserializer(
                _javaType, _xmlType);
        // Type metadata
        private static org.apache.axis.description.TypeDesc typeDesc =
            new org.apache.axis.description.TypeDesc(SendCertificatesRequestStatusInfo.class);
        static {
            typeDesc.setXmlType(new javax.xml.namespace.QName("http://namespaces.unmz.cz/csn369791", ">>SendCertificatesRequest>statusInfo"));
         * Return type metadata object
        public static org.apache.axis.description.TypeDesc getTypeDesc() {
            return typeDesc;
    }    In the client (an auto-gen JSP file), Eclipse has generated the following two lines of code:
    cz1unmz1namespaces1csn3697911SendCertificatesRequest_4id.setMessageID(messageID_5idTemp);
    cz1unmz1namespaces1csn3697911SendCertificatesRequest_4id.setMessageID(callerID_6idTemp);    I have also added the following line for the parameter "certificateSequence" (I have already prepared a Bytearray of certificateSequence)
    cz1unmz1namespaces1csn3697911SendCertificatesRequest_4id.setCertificateSequence(certificateSequence);    Can anyone suggest a way of passing the parameter "statusInfo"? Thanks.
    Edited by: stupidtss on Oct 28, 2009 12:32 AM

    You want something like this:
    DECLARE
      lio_success  VARCHAR2( 2000 );
      li_id        NUMBER;
      li_dep_id    NUMBER;
      li_sel_id := NUMBER;
      li_date DATE;
      lo_date DATE;
      lio_return_message xyz_bpe_rec_fn.xyz_bpe_rec_col;
      l_ret xyz;
    BEGIN
      lio_success := 'some value';
      li_id := NULL;     -- or some number
      li_dep_id := NULL; -- or some number
      li_sel_id := NULL; -- or some number
      li_date DATE := sysdate;
      lio_return_message.col1 := somevalue;
      lio_return_message.col2 := somevalue;
      lio_return_message.coln := somevalue;
      l_ret := get_xyz( lio_success
                      , li_id
                      , li_dep_id
                      , li_sel_id
                      , li_date
                      , lo_date
                      , lio_return_message );
    END;
    /

  • How to instantiate a DOM Element in Forms to call Web Service?

    Hi All,
    I need to call a Java Class that has been converted into PL/SQL in order to run a Web Service.
    The PL/SQL function looks like this:
    -- Method: GetPIValue (Lorg/w3c/dom/Element;)Ljava/util/Vector;
    FUNCTION GetPIValue(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPI');
    mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Lorg/w3c/dom/Element;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, JNI.GET_CLASS('org/w3c/dom/Element'));
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;
    where "a0" is of org.w3c.dom.Element argument that is passed into the function as an obj_java.jobject.
    How can I create an ELEMENT object and call this function by passing this Element and its related Attributes. I have tried the following so far but I am getting this ERROR "Unable to call out to Java, Argument 1 can not be null.
    Element.setAttribute(param_1,
    'piTAG',
    'A3TI006.pv');
    It seems to be Complaining about "param_1" and it CANNOT BE NULL. How can I initialize or Create such an Object in Oracle Forms?
    Does any one have a Sample on how to Create an Element Object in PL/SQL?
    Your help is much appreciated.
    Regards,
    Baz

    Hello,
    I am sure that Jan is certainely THE expert. It would be so great if he would find time to blog a litttle bit on this topic, that generates, in fact, a lot of questions ;D
    Francois

  • SOAP receiver adapter error using Google Search web service

    Hi all,
    I'm trying to connect and old 4.5b system to XI SP16 to make it receive information from external Web Services.
    My scenario is made up of a sender RFC adapter and a SOAP receiver which is sending the message to the Google web service (http://api.google.com/GoogleSearch.wsdl) and then awaiting a response from it.
    I'm stuck with this error: "No Deserializer found to deserialize a ':key'". The problem is that XI is sending this kind of message:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key>mykey</key>
                   <q>testing</q>
                   <start>0</start>
                   <maxResults>1</maxResults>
                   <filter>true</filter>
                   <restrict>String</restrict>
                   <safeSearch>true</safeSearch>
                   <lr>String</lr>
                   <ie>String</ie>
                   <oe>String</oe>
              </m:doGoogleSearch>
    while Google is expecting this:
              <m:doGoogleSearch xmlns:m="urn:GoogleSearch" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                   <key xsi:type="xsd:string">mykey</key>
                   <q xsi:type="xsd:string">testing</q>
                   <start xsi:type="xsd:int">0</start>
                   <maxResults xsi:type="xsd:int">1</maxResults>
                   <filter xsi:type="xsd:boolean">true</filter>
                   <restrict xsi:type="xsd:string">String</restrict>
                   <safeSearch xsi:type="xsd:boolean">true</safeSearch>
                   <lr xsi:type="xsd:string">String</lr>
                   <ie xsi:type="xsd:string">String</ie>
                   <oe xsi:type="xsd:string">String</oe>
              </m:doGoogleSearch>
    with explicitly declared xsi:type.
    I've tested both messages with XMLSpy and the first one is always returning the same error.
    Is there a way to make XI send an XML message with written xsi:type?
    Many thanks in advance!
    Max

    Hi Ricardo!
    I followed your suggestion to create a simple XSLT mapping program (in the ABAP stack) and I added it to the Interface Mapping in the Integration Repository. The result is exactly the soap message that the Google web-service is expecting.
    I'm attaching the XSLT code below in case somebody has the same problem... thanks again for your hint!!
    Regards!
    Max
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sap="http://www.sap.com/sapxsl"
    >
    <xsl:strip-space elements="*"/>
    <xsl:template match="/">
    <ns1:doGoogleSearch xmlns:ns1="urn:GoogleSearch" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
          <key xsi:type="xsd:string"> <xsl:value-of select= "//key"/> </key>
          <q xsi:type="xsd:string"> <xsl:value-of select= "//q"/> </q>
          <start xsi:type="xsd:int"> <xsl:value-of select= "//start"/> </start>
          <maxResults xsi:type="xsd:int"> <xsl:value-of select= "//maxResults"/> </maxResults>
          <filter xsi:type="xsd:boolean"> <xsl:value-of select= "//filter"/> </filter>
          <restrict xsi:type="xsd:string"> <xsl:value-of select= "//restrict"/> </restrict>
          <safeSearch xsi:type="xsd:boolean"> <xsl:value-of select= "//safeSearch"/> </safeSearch>
          <lr xsi:type="xsd:string"> <xsl:value-of select= "//lr"/> </lr>
          <ie xsi:type="xsd:string"> <xsl:value-of select= "//ie"/> </ie>
          <oe xsi:type="xsd:string"> <xsl:value-of select= "//oe"/> </oe>
       </ns1:doGoogleSearch>
    </xsl:template>
    </xsl:transform>

  • Weblogic 10.3: web service client enable HTTP/HTTPS connection reuse?

    hi all,
    i am writing an client app to call a web service, through a client proxy generated by jdeveloper/weblogic.
    My question is:
    for the weblogic web service client proxy, is it possible to enable HTTP/HTTPS connection reuse/pooling?
    i see there is many connection created when calling the web service (by command netstat)?
    thank you.
    lsp

    anybody can help?
    thanks

Maybe you are looking for

  • Z10 and Windows 8

    I have used two different computers with Windows 8 and each time I connect my AT&T Z10 the computer with get a BSOD (Watchdog Vilotation in Windows 8). I know others have experienced the same. Is there a known issue? What is the fix? Thanks, - Bob

  • How to find out who put an event in the EventQueue?

    Hello, I want to debug who has put some event in the EventQueue. I tried to create my own EventQueue (DebugEventQueue) and override postEvent and dispatchEvent. But all I see is, that postEvent is never called, and dispatchEvent has a stack trace lik

  • Setting up Mail for IMAP through Gmail

    Hi, To sync mail on my desktop, laptop, and iPad, I've set it up to link them through Gmail using IMAP. (I chose not to use iCloud because it won't let me use my own domain name for the e-mail address...and this is my business mail.) Everything works

  • Live Update Download Error

    Whenever I use Live Update and go to install a new download it fails.  As it downloads, the counter goes from 0 - 99 and when it reaches 99 it comes up with Error Code:0.  , and stops the download/install. I have tried this for a number of different

  • Installing and formatting a new hard drive for MacBook

    My hard drive died last week on my MacBook and I failed to back up anything forever the last couple of months. Learned my lesson there... Anyway, I took it to the genius bar and they confirmed its death, and showed me how to replace it. I decided to