Does not contain port: null

Hi there,
I had deployed 2 web services, one of it is working another one isn't. Both of the web services implementing the same/identical ways. The exception i got it:
service: {http://localhost:8080/}ORMEngineService does not contain port: null
     at com.sun.xml.rpc.client.dii.ConfiguredService.portNotFoundException(ConfiguredService.java:139)
     at com.sun.xml.rpc.client.dii.ConfiguredService.getPortInfo(ConfiguredService.java:132)
     at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:245)
     at com.sun.xml.rpc.client.dii.ConfiguredService.getPort(ConfiguredService.java:152)
     at gov.mohr.ems.core.entity.logic.ORMEngineWebServicesTest.test1(ORMEngineWebServicesTest.java:59)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:585)
     at junit.framework.TestCase.runTest(TestCase.java:154)
     at junit.framework.TestCase.runBare(TestCase.java:127)
     at junit.framework.TestResult$1.protect(TestResult.java:106)
     at junit.framework.TestResult.runProtected(TestResult.java:124)
     at junit.framework.TestResult.run(TestResult.java:109)
     at junit.framework.TestCase.run(TestCase.java:118)
     at junit.framework.TestSuite.runTest(TestSuite.java:208)
     at junit.framework.TestSuite.run(TestSuite.java:203)
...Below are my references:
1. mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
  <package-mapping>
    <package-type>gov.mohr.ems.core.entity.logic</package-type>
    <namespaceURI>http://localhost:8080/types</namespaceURI>
  </package-mapping>
  <package-mapping>
    <package-type>gov.mohr.ems.core.entity.logic</package-type>
    <namespaceURI>http://localhost:8080/</namespaceURI>
  </package-mapping>
  <service-interface-mapping>
    <service-interface>gov.mohr.ems.core.entity.logic.ORMEngineService</service-interface>
    <wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:ORMEngineService</wsdl-service-name>
    <port-mapping>
      <port-name>ORMEngineServiceEndpointPort</port-name>
      <java-port-name>ORMEngineServiceEndpointPort</java-port-name>
    </port-mapping>
  </service-interface-mapping>
  <service-endpoint-interface-mapping>
    <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
    <wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:ORMEngineServiceEndpoint</wsdl-port-type>
    <wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:ORMEngineServiceEndpointBinding</wsdl-binding>
    <service-endpoint-method-mapping>
      <java-method-name>executeQuery</java-method-name>
      <wsdl-operation>executeQuery</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQuery</wsdl-message>
          <wsdl-message-part-name>String_1</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:ORMEngineServiceEndpoint_executeQueryResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
  </service-endpoint-interface-mapping>
</java-wsdl-mapping>2. WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ORMEngineService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <types/>
  <message name="ORMEngineServiceEndpoint_executeQuery">
    <part name="String_1" type="xsd:string"/></message>
  <message name="ORMEngineServiceEndpoint_executeQueryResponse">
    <part name="result" type="xsd:string"/></message>
  <portType name="ORMEngineServiceEndpoint">
    <operation name="executeQuery" parameterOrder="String_1">
      <input message="tns:ORMEngineServiceEndpoint_executeQuery"/>
      <output message="tns:ORMEngineServiceEndpoint_executeQueryResponse"/></operation></portType>
  <binding name="ORMEngineServiceEndpointBinding" type="tns:ORMEngineServiceEndpoint">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="executeQuery">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal" namespace="http://localhost:8080/"/></input>
      <output>
        <soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
  <service name="ORMEngineService">
    <port name="ORMEngineServiceEndpointPort" binding="tns:ORMEngineServiceEndpointBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>The following are the working copies of the same implmentation:
1. webservices.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : webservices.xml
    Created on : May 11, 2006, 5:36 PM
    Author     : david
    Description:
        Web Services Configuration File for EJB Container
-->
<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
  <webservice-description>
    <webservice-description-name>PersistenceService</webservice-description-name>
    <wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
    <jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
    <port-component>
      <port-component-name>PersistencePort</port-component-name>
      <wsdl-port>PersistenceServiceEndpointPort</wsdl-port>
      <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
      <service-impl-bean>
        <ejb-link>PersistenceEJB</ejb-link>
      </service-impl-bean>
    </port-component>
  </webservice-description>
  <webservice-description>
    <webservice-description-name>ORMEngineService</webservice-description-name>
    <wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
    <jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
    <port-component>
      <port-component-name>ORMEnginePort</port-component-name>
      <wsdl-port>ORMEngineServiceEndpointPort</wsdl-port>
      <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
      <service-impl-bean>
        <ejb-link>ORMEngineEJB</ejb-link>
      </service-impl-bean>
    </port-component>
  </webservice-description>
</webservices>2. ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
  <display-name>Enforcement Management System Backend</display-name>
  <enterprise-beans>
  <!--<session>
      <display-name>WorkflowJAR</display-name>
      <ejb-name>WorkflowEJB</ejb-name>
      <home>gov.mohr.ems.core.workflow.logic.WorkflowRemoteHome</home>
      <remote>gov.mohr.ems.core.workflow.logic.WorkflowRemote</remote>
      <ejb-class>gov.mohr.ems.core.workflow.logic.WorkflowBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
      </env-entry>
    </session>-->
    <!--<session>
      <display-name>NotificationJAR</display-name>
      <ejb-name>NotificationEJB</ejb-name>
      <home>gov.mohr.ems.core.notification.logic.NotificationRemoteHome</home>
      <remote>gov.mohr.ems.core.notification.logic.NotificationRemote</remote>
      <ejb-class>gov.mohr.ems.core.notification.logic.NotificationBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      <env-entry>
        <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
      </env-entry>
    </session>-->
    <session>
        <display-name>ORMEngineJAR</display-name>
        <ejb-name>ORMEngineEJB</ejb-name>
        <service-endpoint>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint>
        <!--<home>gov.mohr.ems.core.entity.logic.ORMEngineRemoteHome</home>
        <remote>gov.mohr.ems.core.entity.logic.ORMEngineRemote</remote>-->
        <ejb-class>gov.mohr.ems.core.entity.logic.ORMEngineBean</ejb-class>
        <session-type>Stateless</session-type>
        <transaction-type>Container</transaction-type>
        <env-entry>
            <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
        </env-entry>
    </session>
    <session>
        <display-name>PersistenceJAR</display-name>
        <ejb-name>PersistenceEJB</ejb-name>
        <service-endpoint>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint>
        <!--<home>gov.mohr.ems.core.entity.logic.PersistenceRemoteHome</home>
        <remote>gov.mohr.ems.core.entity.logic.PersistenceRemote</remote>-->
        <ejb-class>gov.mohr.ems.core.entity.logic.PersistenceBean</ejb-class>
        <session-type>Stateless</session-type>
        <transaction-type>Container</transaction-type>
        <env-entry>
            <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>/META-INF/applicationcontext-ejb.xml</env-entry-value>
        </env-entry>
    </session>
  </enterprise-beans>
  <assembly-descriptor>
     <!--<container-transaction>
      <method>
        <ejb-name>WorkflowEJB</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>-->
    <!--<container-transaction>
      <method>
        <ejb-name>NotificationEJB</ejb-name>
        <method-name>*</method-name>
      </method>
      <trans-attribute>Required</trans-attribute>
    </container-transaction>-->
    <container-transaction>
        <method>
            <ejb-name>ORMEngineEJB</ejb-name>
            <method-name>*</method-name>
        </method>
        <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <container-transaction>
        <method>
            <ejb-name>PersistenceEJB</ejb-name>
            <method-name>*</method-name>
        </method>
        <trans-attribute>Required</trans-attribute>
    </container-transaction>
  </assembly-descriptor>
</ejb-jar>3. applicationcontext-ejb.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD// BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd">
<!--
    Document   : applicationcontext-ejb.xml
    Created on : April 26, 2006, 9:07 PM
    Author     : david
    Description:
        Spring configuration.
-->
<beans default-autowire="byName">
    <bean id="sessionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
        <property name="jndiName">
            <value>java:hibernate/SessionFactory</value>
        </property>
    </bean>
    <!--<bean id="gov.mohr.ems.core.workflow.logic.Workflow" class="gov.mohr.ems.core.workflow.logic.WorkflowImpl"/>-->
    <!--<bean id="gov.mohr.ems.core.notification.logic.Notification" class="gov.mohr.ems.core.notification.logic.NotificationImpl"/>-->
    <!-- Backend -->
    <bean id="gov.mohr.ems.core.entity.logic.DefaultQueryMethod" class="gov.mohr.ems.core.entity.logic.DefaultQueryMethod"/>
    <bean id="gov.mohr.ems.core.entity.logic.ORMEngine" class="gov.mohr.ems.core.entity.logic.ORMEngineImpl">
        <property name="queryMethodMap">
            <map>
                <entry key="CustomerSampleKey">
                    <value>CustomerSampleClassName</value>
                </entry>
            </map>
        </property>
    </bean>
    <bean id="gov.mohr.ems.core.entity.logic.Persistence" class="gov.mohr.ems.core.entity.logic.PersistenceImpl"/>
</beans>4. working copy of mapping file:
<?xml version="1.0" encoding="UTF-8"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
  <package-mapping>
    <package-type>gov.mohr.ems.core.entity.logic</package-type>
    <namespaceURI>http://localhost:8080/types</namespaceURI>
  </package-mapping>
  <package-mapping>
    <package-type>gov.mohr.ems.core.entity.logic</package-type>
    <namespaceURI>http://localhost:8080/</namespaceURI>
  </package-mapping>
  <service-interface-mapping>
    <service-interface>gov.mohr.ems.core.entity.logic.PersistenceService</service-interface>
    <wsdl-service-name xmlns:serviceNS="http://localhost:8080/">serviceNS:PersistenceService</wsdl-service-name>
    <port-mapping>
      <port-name>PersistenceServiceEndpointPort</port-name>
      <java-port-name>PersistenceServiceEndpointPort</java-port-name>
    </port-mapping>
  </service-interface-mapping>
  <service-endpoint-interface-mapping>
    <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
    <wsdl-port-type xmlns:portTypeNS="http://localhost:8080/">portTypeNS:PersistenceServiceEndpoint</wsdl-port-type>
    <wsdl-binding xmlns:bindingNS="http://localhost:8080/">bindingNS:PersistenceServiceEndpointBinding</wsdl-binding>
    <service-endpoint-method-mapping>
      <java-method-name>upload</java-method-name>
      <wsdl-operation>upload</wsdl-operation>
      <method-param-parts-mapping>
        <param-position>0</param-position>
        <param-type>java.lang.String</param-type>
        <wsdl-message-mapping>
          <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_upload</wsdl-message>
          <wsdl-message-part-name>String_1</wsdl-message-part-name>
          <parameter-mode>IN</parameter-mode>
        </wsdl-message-mapping>
      </method-param-parts-mapping>
      <wsdl-return-value-mapping>
        <method-return-value>java.lang.String</method-return-value>
        <wsdl-message xmlns:wsdlMsgNS="http://localhost:8080/">wsdlMsgNS:PersistenceServiceEndpoint_uploadResponse</wsdl-message>
        <wsdl-message-part-name>result</wsdl-message-part-name>
      </wsdl-return-value-mapping>
    </service-endpoint-method-mapping>
  </service-endpoint-interface-mapping>
</java-wsdl-mapping>5. working copy of WSDL file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="PersistenceService" targetNamespace="http://localhost:8080/" xmlns:tns="http://localhost:8080/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  <types/>
  <message name="PersistenceServiceEndpoint_upload">
    <part name="String_1" type="xsd:string"/></message>
  <message name="PersistenceServiceEndpoint_uploadResponse">
    <part name="result" type="xsd:string"/></message>
  <portType name="PersistenceServiceEndpoint">
    <operation name="upload" parameterOrder="String_1">
      <input message="tns:PersistenceServiceEndpoint_upload"/>
      <output message="tns:PersistenceServiceEndpoint_uploadResponse"/></operation></portType>
  <binding name="PersistenceServiceEndpointBinding" type="tns:PersistenceServiceEndpoint">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
    <operation name="upload">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal" namespace="http://localhost:8080/"/></input>
      <output>
        <soap:body use="literal" namespace="http://localhost:8080/"/></output></operation></binding>
  <service name="PersistenceService">
    <port name="PersistenceServiceEndpointPort" binding="tns:PersistenceServiceEndpointBinding">
      <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>Anyone has any ideas?
Many thanks!

if we examine the webservices.xml, there are 2 part:
<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1\.xsd" version="1.1">
  <webservice-description>
    <webservice-description-name>PersistenceService</webservice-description-name>
    <wsdl-file>META-INF/wsdl/PersistenceService.wsdl</wsdl-file>
    <jaxrpc-mapping-file>META-INF/mapping-persistence.xml</jaxrpc-mapping-file>
    <port-component>
      <port-component-name>PersistencePort</port-component-name>
      <wsdl-port>
PersistenceServiceEndpointPort</wsdl-port>
      <service-endpoint-interface>gov.mohr.ems.core.entity.logic.PersistenceServiceEndpoint</service-endpoint-interface>
      <service-impl-bean>
        <ejb-link>PersistenceEJB</ejb-link>
      </service-impl-bean>
    </port-component>
  </webservice-description>
  <webservice-description>
    <webservice-description-name>ORMEngineService</webservice-description-name>
    <wsdl-file>META-INF/wsdl/ORMEngineService.wsdl</wsdl-file>
    <jaxrpc-mapping-file>META-INF/mapping-ormengine.xml</jaxrpc-mapping-file>
    <port-component>
      <port-component-name>ORMEnginePort</port-component-name>
      <wsdl-port>
ORMEngineServiceEndpointPort</wsdl-port>
      <service-endpoint-interface>gov.mohr.ems.core.entity.logic.ORMEngineServiceEndpoint</service-endpoint-interface>
      <service-impl-bean>
        <ejb-link>ORMEngineEJB</ejb-link>
      </service-impl-bean>
    </port-component>
  </webservice-description>
</webservices>one is for Persistence service, one is for ORMEngine service. it is just that i need to put them both inside the same webservices.xml

Similar Messages

  • Error ORA-29532 service does not contain port

    I used utl_dbws in this simple function:
    CREATE OR REPLACE FUNCTION get_meteo (p_int_1 IN VARCHAR2,
    p_int_2 IN VARCHAR2)
    RETURN VARCHAR2
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.webservicex.net/globalweather.asmx?WSDL';
    l_namespace := 'http://www.webserviceX.NET/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeather');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeatherSoap');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetWeather');
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <CountryName>' || p_int_1 || '</CountryName>
    <CityName>' || p_int_2 || '</CityName>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').GetStringVal();
    RETURN l_return;
    END;
    SELECT get_meteo('Italy', 'Milan') FROM dual;
    When I try to execute it, I get the error:
    ORA-29532: chiamata Java terminata a causa di un'eccezione Java non ottenuta:
    service: {http://www.webserviceX.NET/}GlobalWeather does not contain port:
    {{http://www.webserviceX.NET/}GlobalWeather}GlobalWeatherSoap
    ORA-06512: a "SYS.UTL_DBWS", line 266
    ORA-06512: a "SYS.GET_METEO", line 29
    Why? Where is the mistake?
    Here is definition of the webservice:
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
    - <s:element name="GetWeather">ort
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetWeatherResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetCitiesByCountry">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetCitiesByCountryResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetCitiesByCountryResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string" />
    </s:schema>
    </wsdl:types>
    - <wsdl:message name="GetWeatherSoapIn">
    <wsdl:part name="parameters" element="tns:GetWeather" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherSoapOut">
    <wsdl:part name="parameters" element="tns:GetWeatherResponse" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountrySoapIn">
    <wsdl:part name="parameters" element="tns:GetCitiesByCountry" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountrySoapOut">
    <wsdl:part name="parameters" element="tns:GetCitiesByCountryResponse" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpGetIn">
    <wsdl:part name="CityName" type="s:string" />
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpGetIn">
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpPostIn">
    <wsdl:part name="CityName" type="s:string" />
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpPostIn">
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:portType name="GlobalWeatherSoap">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherSoapIn" />
    <wsdl:output message="tns:GetWeatherSoapOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountrySoapIn" />
    <wsdl:output message="tns:GetCitiesByCountrySoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:portType name="GlobalWeatherHttpGet">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherHttpGetIn" />
    <wsdl:output message="tns:GetWeatherHttpGetOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountryHttpGetIn" />
    <wsdl:output message="tns:GetCitiesByCountryHttpGetOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:portType name="GlobalWeatherHttpPost">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherHttpPostIn" />
    <wsdl:output message="tns:GetWeatherHttpPostOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountryHttpPostIn" />
    <wsdl:output message="tns:GetCitiesByCountryHttpPostOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="GlobalWeatherSoap" type="tns:GlobalWeatherSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetWeather">
    <soap:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
    - <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <soap:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
    - <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherSoap12" type="tns:GlobalWeatherSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetWeather">
    <soap12:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
    - <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <soap12:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
    - <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherHttpGet" type="tns:GlobalWeatherHttpGet">
    <http:binding verb="GET" />
    - <wsdl:operation name="GetWeather">
    <http:operation location="/GetWeather" />
    - <wsdl:input>
    <http:urlEncoded />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <http:operation location="/GetCitiesByCountry" />
    - <wsdl:input>
    <http:urlEncoded />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherHttpPost" type="tns:GlobalWeatherHttpPost">
    <http:binding verb="POST" />
    - <wsdl:operation name="GetWeather">
    <http:operation location="/GetWeather" />
    - <wsdl:input>
    <mime:content type="application/x-www-form-urlencoded" />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <http:operation location="/GetCitiesByCountry" />
    - <wsdl:input>
    <mime:content type="application/x-www-form-urlencoded" />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="GlobalWeather">
    - <wsdl:port name="GlobalWeatherSoap" binding="tns:GlobalWeatherSoap">
    <soap:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherSoap12" binding="tns:GlobalWeatherSoap12">
    <soap12:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherHttpGet" binding="tns:GlobalWeatherHttpGet">
    <http:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherHttpPost" binding="tns:GlobalWeatherHttpPost">
    <http:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    l_namespace := 'http://www.webserviceX.NET/';
    According to the WSDL, the target namespace is :
    http://www.webserviceX.NET(no ending slash)
    See if it makes a difference.
    I don't have UTL_DBWS installed to test, but the webservice works well when invoked via UTL_HTTP :
    SQL> DECLARE
      2    req_text   VARCHAR2(4000) :=
      3  '<?xml version="1.0" encoding="utf-8"?>
      4  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      5    <soap:Body>
      6      <GetWeather xmlns="http://www.webserviceX.NET">
      7        <CityName>Nantes</CityName>
      8        <CountryName>France</CountryName>
      9      </GetWeather>
    10    </soap:Body>
    11  </soap:Envelope>';
    12 
    13    req        utl_http.req;
    14    res        utl_http.resp;
    15    res_text   VARCHAR2(32767);
    16 
    17  BEGIN
    18 
    19    req := utl_http.begin_request('www.webservicex.net/globalweather.asmx', 'POST', 'HTTP/1.1');
    20    utl_http.set_header(req, 'Content-Type', 'text/xml');
    21    utl_http.set_header(req, 'Content-Length', length(req_text));
    22    utl_http.set_header(req, 'SOAPAction', 'http://www.webserviceX.NET/GetWeather');
    23 
    24    utl_http.write_text(req, req_text);
    25 
    26    res := utl_http.get_response(req);
    27    utl_http.read_text(res, res_text);
    28    utl_http.end_response(res);
    29 
    30    dbms_output.put_line(res_text);
    31 
    32  END;
    33  /
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetWeatherResponse xmlns="http://www.webserviceX.NET"><GetWeatherResult>&lt;?xml version="1.0" encoding="utf-16"?&gt;
    &lt;CurrentWeather&gt;
      &lt;Location&gt;Nantes, France (LFRS) 47-10N 001-36W 27M&lt;/Location&gt;
      &lt;Time&gt;Feb 12, 2012 - 06:30 AM EST / 2012.02.12 1130 UTC&lt;/Time&gt;
      &lt;Wind&gt; from the ENE (060 degrees) at 9 MPH (8 KT):0&lt;/Wind&gt;
      &lt;Visibility&gt; greater than 7 mile(s):0&lt;/Visibility&gt;
      &lt;Temperature&gt; 32 F (0 C)&lt;/Temperature&gt;
      &lt;Wind&gt;Windchill: 24 F (-4 C):1&lt;/Wind&gt;
      &lt;DewPoint&gt; 8 F (-13 C)&lt;/DewPoint&gt;
      &lt;RelativeHumidity&gt; 36%&lt;/RelativeHumidity&gt;
      &lt;Pressure&gt; 30.53 in. Hg (1034 hPa)&lt;/Pressure&gt;
      &lt;Status&gt;Success&lt;/Status&gt;
    &lt;/CurrentWeather&gt;</GetWeatherResult></GetWeatherResponse></soap:Body></soap:Envelope>
    PL/SQL procedure successfully completed
    Or directly with the HTTP GET protocol :
    SQL> select *
      2  from xmltable(
      3       '/CurrentWeather'
      4       passing xmlparse(document
      5                xmlcast(
      6                 xmlquery(
      7                  'declare default element namespace "http://www.webserviceX.NET"; /string'
      8                  passing httpuritype('http://www.webservicex.net/globalweather.asmx/GetWeather?CityName=Nantes&CountryName=France').getXML()
      9                  returning content
    10                 ) as varchar2(4000)
    11                )
    12               )
    13       columns location    varchar2(100) path 'Location'
    14             , pressure    varchar2(100) path 'Pressure'
    15             , temperature varchar2(100) path 'Temperature'
    16  );
    LOCATION                                                 PRESSURE                            TEMPERATURE
    Nantes, France (LFRS) 47-10N 001-36W 27M                  30.53 in. Hg (1034 hPa)             32 F (0 C)

  • UTL_DBWS accessing  web service gives 'not contain port' error

    Hello
    I am trying to call a web service from https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl
    In the WSDL xml, i get the targetNamespace (http://PlanonWebServices.ws),
    the service name (PlanonSession),
    the wsdl URL (https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl),
    the portType name (PlanonSessionHttpEndpoint),
    the operation name (login).
    When i call the web service, i get an error about the port :
    -29532 - ORA-29532: Java call terminated by uncaught Java exception: service:
    {http://PlanonWebServices.ws}PlanonSession does not contain port:
    {http://PlanonWebServices.ws}PlanonSessionHttpEndpoint
    The code is :
    CREATE OR REPLACE PROCEDURE planon_Login AS
    planon_username     VARCHAR2(50):= 'XXXXXX'; --- removed for security
    planon_passwd     VARCHAR2(50):= 'XXXXX'; --- removed for security
    service_ sys.utl_dbws.SERVICE;
    call_ sys.utl_dbws.CALL;
    service_qname sys.utl_dbws.QNAME;
    port_qname sys.utl_dbws.QNAME;
    operation_qname sys.utl_dbws.QNAME;
    string_type_qname sys.utl_dbws.QNAME;
    username     sys.utl_dbws.QNAME;
    password      sys.utl_dbws.QNAME;
    --retx               ANYDATA;
    retx_string VARCHAR2(1000);
    l_namespace     VARCHAR2(1000);
    l_wsdl_url VARCHAR2(1000);
    l_input_params      sys.utl_dbws.ANYDATA_LIST;
    outputs      sys.utl_dbws.ANYDATA_LIST;
    output_retx VARCHAR2(1000);
    xml_string sys.xmltype;
    retx sys.xmltype;
    qname_list_     sys.utl_dbws.QNAME_LIST;
    qname_list_string sys.utl_dbws.QNAME_LIST;
    BEGIN
    dbms_output.put_line('Step 1');
    dbms_output.put_line('Step 1 : Set l_wsdl_url');
    l_wsdl_url := 'https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession?wsdl';
    dbms_output.put_line('Step 1 : Set l_namespace');
    l_namespace := 'http://PlanonWebServices.ws';
    dbms_output.put_line('Step 1 : Set service_');
    service_qname := sys.utl_dbws.to_qname(l_namespace,'PlanonSession');
    service_ := sys.utl_dbws.create_service (URIFACTORY.getURI(l_wsdl_url), service_qname);
    dbms_output.put_line('Step 1 : Set port_qname_');
    port_qname := sys.utl_dbws.to_qname(l_namespace,'PlanonSessionHttpEndpoint');
    dbms_output.put_line('Step 1 : Set operation_qname');
    operation_qname := sys.utl_dbws.to_qname(l_namespace, 'login');
    dbms_output.put_line('Step 1 : Set call_');
    call_ := sys.utl_dbws.create_call(service_,port_qname,operation_qname);
    dbms_output.put_line('Step 2');
    sys.utl_dbws.set_property(call_,'USERNAME', planon_username);
    sys.utl_dbws.set_property(call_,'PASSWORD', planon_passwd);
    sys.utl_dbws.set_property(call_,'SOAPACTION_USE','TRUE');
    sys.utl_dbws.set_property(call_,'SOAPACTION_URI','https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services/PlanonSession');
    sys.utl_dbws.set_property(call_,'ENCODINGSTYLE_URI', 'https://schemas.xmlsoap.org/soap/encoding/');
    sys.utl_dbws.set_property(call_,'OPERATION_STYLE','document');
    dbms_output.put_line('Step 3');
    string_type_qname := sys.utl_dbws.to_qname('https://www.w3.org/2001/XMLSchema', 'string');
    /* first return parameter in the WSDL should not be specified in the parameter list or errors occur
    sys.utl_dbws.add_parameter(call_, 'loginResponse', string_type_qname, 'ParameterMode.OUT');
    sys.utl_dbws.set_return_type(call_,string_type_qname);
    xml_string := xmltype('<PlanonSession xmlns="https://wgfd-cafa02.uni.mdx.ac.uk:8443/nyx/services">'
    || '</PlanonSession>');
    retx := sys.utl_dbws.invoke(call_,xml_string);
    dbms_output.put_line('Step 6');
    dbms_output.put_line('Step 7');
    dbms_output.put_line('Call Web Service:services:PlanonSession: ' || retx.getStringVal());
    dbms_output.put_line('Step 10');
    sys.utl_dbws.release_call(call_);
    sys.utl_dbws.release_service(service_);
    dbms_output.put_line('Step 11');
    EXCEPTION
    when others then
    dbms_output.put_line(SQLCODE || ' - ' || SQLERRM);
    END;
    The WSDL document is :
    ?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://PlanonWebServices.ws" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://PlanonWebServices.ws">
    <wsdl:documentation>PlanonSession</wsdl:documentation>
    <wsdl:types>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://PlanonWebServices.ws">
    <xs:complexType name="Exception">
    <xs:sequence>
    <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="logout">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="logoutResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="setReferenceDate">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="param1" nillable="true" type="xs:dateTime"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="setReferenceDateResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="setSessionDataSection">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="setSessionDataSectionResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" type="xs:boolean"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="login">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="param0" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="param1" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="loginResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="logoutRequest">
    <wsdl:part name="parameters" element="ns:logout"/>
    </wsdl:message>
    <wsdl:message name="logoutResponse">
    <wsdl:part name="parameters" element="ns:logoutResponse"/>
    </wsdl:message>
    <wsdl:message name="loginRequest">
    <wsdl:part name="parameters" element="ns:login"/>
    </wsdl:message>
    <wsdl:message name="loginResponse">
    <wsdl:part name="parameters" element="ns:loginResponse"/>
    </wsdl:message>
    <wsdl:message name="setSessionDataSectionRequest">
    <wsdl:part name="parameters" element="ns:setSessionDataSection"/>
    </wsdl:message>
    <wsdl:message name="setSessionDataSectionResponse">
    <wsdl:part name="parameters" element="ns:setSessionDataSectionResponse"/>
    </wsdl:message>
    <wsdl:message name="setReferenceDateRequest">
    <wsdl:part name="parameters" element="ns:setReferenceDate"/>
    </wsdl:message>
    <wsdl:message name="setReferenceDateResponse">
    <wsdl:part name="parameters" element="ns:setReferenceDateResponse"/>
    </wsdl:message>
    <wsdl:portType name="PlanonSessionPortType">
    <wsdl:operation name="logout">
    <wsdl:input message="ns:logoutRequest" wsaw:Action="urn:logout"/>
    <wsdl:output message="ns:logoutResponse" wsaw:Action="urn:logoutResponse"/>
    </wsdl:operation>
    <wsdl:operation name="login">
    <wsdl:input message="ns:loginRequest" wsaw:Action="urn:login"/>
    <wsdl:output message="ns:loginResponse" wsaw:Action="urn:loginResponse"/>
    </wsdl:operation>
    <wsdl:operation name="setSessionDataSection">
    <wsdl:input message="ns:setSessionDataSectionRequest" wsaw:Action="urn:setSessionDataSection"/>
    <wsdl:output message="ns:setSessionDataSectionResponse" wsaw:Action="urn:setSessionDataSectionResponse"/>
    </wsdl:operation>
    <wsdl:operation name="setReferenceDate">
    <wsdl:input message="ns:setReferenceDateRequest" wsaw:Action="urn:setReferenceDate"/>
    <wsdl:output message="ns:setReferenceDateResponse" wsaw:Action="urn:setReferenceDateResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="PlanonSessionSoap11Binding" type="ns:PlanonSessionPortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <wsdl:operation name="logout">
    <soap:operation soapAction="urn:logout" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="login">
    <soap:operation soapAction="urn:login" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setSessionDataSection">
    <soap:operation soapAction="urn:setSessionDataSection" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setReferenceDate">
    <soap:operation soapAction="urn:setReferenceDate" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="PlanonSessionSoap12Binding" type="ns:PlanonSessionPortType">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <wsdl:operation name="logout">
    <soap12:operation soapAction="urn:logout" style="document"/>
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="login">
    <soap12:operation soapAction="urn:login" style="document"/>
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setSessionDataSection">
    <soap12:operation soapAction="urn:setSessionDataSection" style="document"/>
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setReferenceDate">
    <soap12:operation soapAction="urn:setReferenceDate" style="document"/>
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="PlanonSessionHttpBinding" type="ns:PlanonSessionPortType">
    <http:binding verb="POST"/>
    <wsdl:operation name="logout">
    <http:operation location="PlanonSession/logout"/>
    <wsdl:input>
    <mime:content type="text/xml" part="logout"/>
    </wsdl:input>
    <wsdl:output>
    <mime:content type="text/xml" part="logout"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="login">
    <http:operation location="PlanonSession/login"/>
    <wsdl:input>
    <mime:content type="text/xml" part="login"/>
    </wsdl:input>
    <wsdl:output>
    <mime:content type="text/xml" part="login"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setSessionDataSection">
    <http:operation location="PlanonSession/setSessionDataSection"/>
    <wsdl:input>
    <mime:content type="text/xml" part="setSessionDataSection"/>
    </wsdl:input>
    <wsdl:output>
    <mime:content type="text/xml" part="setSessionDataSection"/>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="setReferenceDate">
    <http:operation location="PlanonSession/setReferenceDate"/>
    <wsdl:input>
    <mime:content type="text/xml" part="setReferenceDate"/>
    </wsdl:input>
    <wsdl:output>
    <mime:content type="text/xml" part="setReferenceDate"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="PlanonSession">
    <wsdl:port name="PlanonSessionHttpSoap11Endpoint" binding="ns:PlanonSessionSoap11Binding">
    <soap:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpSoap11Endpoint/"/>
    </wsdl:port>
    <wsdl:port name="PlanonSessionHttpSoap12Endpoint" binding="ns:PlanonSessionSoap12Binding">
    <soap12:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpSoap12Endpoint/"/>
    </wsdl:port>
    <wsdl:port name="PlanonSessionHttpEndpoint" binding="ns:PlanonSessionHttpBinding">
    <http:address location="http://10.13.84.121:8080/nyx/services/PlanonSession.PlanonSessionHttpEndpoint/"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Any help is greatly appreciated.
    Thanks in advance

    I got the same error... did you find a solution?
    tks
    M&aacute;rio Cardia

  • Dg4odbc to MySQL update errors: "does not support IS NULL in this context"

    I am having a problem with 'where x is null' clauses in update statements to MySQL from 11g, using dg4odbc. Updates using the clause 'where x is null' return errors like this:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    The rejected queries never get to mysql. Furthermore, I noticed that select statements with 'where x is null' show up in the mysql query log with the where clause stripped out, although correct results are returned to SQLPlus. It looks as though 'where x is null' is stripped off by dg4odbc, which subsequently applies a secondary filter to the results received from MySQL.
    Note, both statements above work properly when issued from the MySQL client.
    Has anybody seen this? It's a big problem for me, but I can't find any references to other people having the same problem, so I assume I've got something misconfigured -- but I don't know what.
    I'm using MySQL ODBC 5.1 Driver, MySQL 5.1 Community Edition, and Oracle 11g R1 all running on a 32-bit Windows server.
    Thank you -- rick
    =============
    here's a spool of a sample oracle session:
    SQL> col descr1 for a40
    SQL> select * from t1@plazahost;
    id1 descr1
    1 hello
    2
    SQL> descr t1@plazahost
    Name Null? Type
    id1 NUMBER(10)
    descr1 VARCHAR2(255)
    SQL> select * from t1@plazahost where "descr1" is null;
    id1 descr1
    2
    SQL> update t1@plazahost set "descr1"='updated' where "descr1" is null;
    update t1@plazahost set "descr1"='updated' where "descr1" is null
    ERROR at line 1:
    ORA-02070: database PLAZAHOST does not support IS NULL in this context
    SQL> spool off
    =============
    here's the mysql query log snip for the oracle session:
    100804 10:24:20 1637 Connect     moms_oracle@MOMS_HOST on moms
              1637 Query     SET NAMES utf8
              1637 Query     SET character_set_results = NULL
              1637 Query     SET SQL_AUTO_IS_NULL = 0
              1637 Query     set autocommit=0
              1637 Query     select database()
              1637 Query     COMMIT
              1637 Query     SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SHOW KEYS FROM `moms`.`T1`
              1637 Query     SHOW TABLE STATUS FROM `moms` LIKE 'T1'
              1637 Query     SHOW COLUMNS FROM `moms`.`t1`
              1637 Query     SELECT `id1`,`descr1` FROM `moms`.`t1` LIMIT 0
              1637 Query     SELECT A1.`id1`,A1.`descr1` FROM `T1` A1
              1637 Query     SELECT `id1`,`descr1` FROM `T1`
    100804 10:24:28 1637 Query     COMMIT
              1637 Quit     
    =============
    here's the Oracle HS trace file for the same oracle session:
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- WEDNESDAY AUG 04 2010 10:24:19.608
    Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "plazahost"
    Product-Info:
    Port Rls/Upd:7/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:plazahost
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2010/08/04-10:24:19
    Exiting hgolofn, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2010/08/04-10:24:20
    Entered hgolgon at 2010/08/04-10:24:20
    reco:0, name:moms_oracle, tflag:0
    Entered hgosuec at 2010/08/04-10:24:20
    Exiting hgosuec, rc=0 at 2010/08/04-10:24:20
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using moms_oracle as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2010/08/04-10:24:20
    HS_FDS_CONNECT_INFO = "momsPlazaHost"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2010/08/04-10:24:20
    dsn:momsPlazaHost, name:moms_oracle
    optn:
    ##>Connect Parameters (len=43)<##
    ## DSN=momsPlazaHost;
    #! UID=moms_oracle;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2010/08/04-10:24:20
    DriverName:myodbc5.dll, DriverVer:05.01.0005
    DBMS Name:MySQL, DBMS Version:5.1.35-community-log
    Exiting hgocont, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 64 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2010/08/04-10:24:20
    Entered hgoulcp at 2010/08/04-10:24:20
    Entered hgowlst at 2010/08/04-10:24:20
    Exiting hgowlst, rc=0 at 2010/08/04-10:24:20
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    2 instance capabilities will be uploaded
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    Exiting hgoulcp, rc=0 at 2010/08/04-10:24:20
    Entered hgouldt at 2010/08/04-10:24:20
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2010/08/04-10:24:20
    Entered hgobegn at 2010/08/04-10:24:20
    tflag:0 , initial:1
    hoi:0x12f03c, ttid (len 26) is ...
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    TXN Capable:3, Isolation Option:0xf
    Exiting hgobegn, rc=0 at 2010/08/04-10:24:20
    Entered hgodtab at 2010/08/04-10:24:20
    count:1
    table: T1
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:255, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    The hoada for table T1 follows...
    hgodtab, line 651: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:1, WHT=6 (TABLE_DESCRIBE)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 255 255 0/ 0 0 0 0 descr1
    Exiting hgodtab, rc=0 at 2010/08/04-10:24:20
    Entered hgodafr, cursor id 0 at 2010/08/04-10:24:20
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:20
    Entered hgotcis at 2010/08/04-10:24:20
    Calling SQLStatistics for T1
    Calling SQLColumns for moms_oracle.T1
    Column "id1": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=4
    Column "descr1": dtype=12, colsize=255, decdig=0, char_octet_length=255, cumulative avg row len=195
    Exiting hgotcis, rc=0 at 2010/08/04-10:24:20
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:20
    type:0
    SQL text from hgopars, id=1, len=40 ...
    00: 53454C45 43542041 312E6069 6431602C [SELECT A1.`id1`,]
    10: 41312E60 64657363 72316020 46524F4D [A1.`descr1` FROM]
    20: 20605431 60204131 [ `T1` A1]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:20
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:20
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:20
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    Entered hgopcda at 2010/08/04-10:24:20
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:20
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:21
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:21
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:21
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:23
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:23
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:23
    Entered hgopars, cursor id 1 at 2010/08/04-10:24:23
    type:0
    SQL text from hgopars, id=1, len=31 ...
    00: 53454C45 43542060 69643160 2C606465 [SELECT `id1`,`de]
    10: 73637231 60204652 4F4D2060 543160 [scr1` FROM `T1`]
    Exiting hgopars, rc=0 at 2010/08/04-10:24:23
    Entered hgoopen, cursor id 1 at 2010/08/04-10:24:23
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2010/08/04-10:24:23
    Entered hgodscr, cursor id 1 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:1(id1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    Entered hgopcda at 2010/08/04-10:24:23
    Column:2(descr1): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:256, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2010/08/04-10:24:23
    hgodscr, line 506: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    Exiting hgodscr, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:100, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 256 256 0/ 0 0 0 0 descr1
    SQLBindCol: column 1, cdatatype: -16, bflsz: 4
    SQLBindCol: column 2, cdatatype: 1, bflsz: 257
    2 rows fetched
    Exiting hgoftch, rc=0 at 2010/08/04-10:24:24
    Entered hgoftch, cursor id 1 at 2010/08/04-10:24:24
    hgoftch, line 117: Printing hoada @ 02A32DDC
    MAX:2, ACTUAL:2, BRC:2, WHT=5 (SELECT_LIST)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER Y 4 4 0/ 0 0 0 0 id1
    12 VARCHAR Y 5 256 0/ 0 0 0 0 descr1
    0 rows fetched
    Exiting hgoftch, rc=1403 at 2010/08/04-10:24:24
    Entered hgoclse, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgoclse, rc=0 at 2010/08/04-10:24:27
    Entered hgodafr, cursor id 1 at 2010/08/04-10:24:27
    Exiting hgodafr, rc=0 at 2010/08/04-10:24:27
    Entered hgocomm at 2010/08/04-10:24:28
    keepinfo:0, tflag:1
    00: 4D4F4D53 44422E38 62393537 3032392E [MOMSDB.8b957029.]
    10: 322E3130 2E333131 3531 [2.10.31151]
    tbid (len 23) is ...
    00: 4D4F4D53 44425B32 2E31302E 33313135 [MOMSDB[2.10.3115]
    10: 315D5B31 2E345D [1][1.4]]
    cmt(0):
    Entered hgocpctx at 2010/08/04-10:24:28
    Exiting hgocpctx, rc=0 at 2010/08/04-10:24:28
    Exiting hgocomm, rc=0 at 2010/08/04-10:24:28
    Entered hgolgof at 2010/08/04-10:24:28
    tflag:1
    Exiting hgolgof, rc=0 at 2010/08/04-10:24:28
    Entered hgoexit at 2010/08/04-10:24:28
    Exiting hgoexit, rc=0 at 2010/08/04-10:24:28

    is null statement is post processed. This means in case of a select ALL records from the remote database are fetched into the Oracle database and the is null statement is then processed locally in the Oracle db.
    So thze select will work as it is handled internally in the Oracle database. This also means as But "is null" isn't sent to the foreign MySQL db the update clause will fail with ORA-02070: database PLAZAHOST does not support IS NULL in this context
    You need to recode the statement or use passthrough statements.

  • [Eclipse Problem] Selection does not contain a main type?

    well i am using a GUI builder software which generates java code, i made a simple one to test and it will not compile.
    import java.awt.*;
    import javax.swing.*;
    public class name  {
         @SuppressWarnings("unused")
         private void initComponents() {
              panel1 = new JPanel();
              label1 = new JLabel();
              textField1 = new JTextField();
              panel1.setLayout(new FlowLayout());
              label1.setText("Name:");
              label1.setHorizontalAlignment(SwingConstants.LEFT);
              panel1.add(label1);
              textField1.setColumns(12);
              textField1.setText("hi");
              panel1.add(textField1);
         private JPanel panel1;
         private JLabel label1;
         private JTextField textField1;
    }it should make a basic swing GUI but it just gives me the error "Selection does not contain a main type"
    I did not select in eclipse "use public static void main" i know im not supposed to because this has no main method, but how am i to compile this? =X
    Edited by: -Johnny- on May 14, 2008 6:44 PM
    Edited by: -Johnny- on May 14, 2008 6:44 PM

    -Johnny- wrote:
    ya i used javac instead of eclipse then running it complains like you say
    but is there any way to compile this code and it will work? I was hoping to use this GUI builder for business purposes but it seems like a waste of money so far if i can't make working java application with it =\The code is fine. You need to learn the basics. Start with the intro tutorials at the Sun type and start reading and coding.
    Here is what the rest could look like:
    import java.awt.*;
    import javax.swing.*;
    public class name
        @SuppressWarnings("unused")
        private void initComponents()
            panel1 = new JPanel();
            label1 = new JLabel();
            textField1 = new JTextField();
            panel1.setLayout(new FlowLayout());
            label1.setText("Name:");
            label1.setHorizontalAlignment(SwingConstants.LEFT);
            panel1.add(label1);
            textField1.setColumns(12);
            textField1.setText("hi");
            panel1.add(textField1);
        private JPanel panel1;
        private JLabel label1;
        private JTextField textField1;
        public name()
            initComponents();
        public JPanel getPanel()
            return panel1;
        private static void createAndShowUI()
            JFrame frame = new JFrame("name");
            frame.getContentPane().add(new name().getPanel());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public static void main(String[] args)
            java.awt.EventQueue.invokeLater(new Runnable()
                public void run()
                    createAndShowUI();
    }Edited by: Encephalopathic on May 14, 2008 7:10 PM

  • FileUpload problem: InputStream does not contain a serialized object

    Hi All,
    I'm using the FileUpload component in a JSPDynPage and the htmlb component seems to work fine but I cannot read the file (InputStream). I get the following error(IOException): "InputStream does not contain a serialized object".
    Please let me know what is wrong with my code. This is a part of the code I used:
    public FileInputStream sourceFileInput;
    public ObjectInputStream input;
    FileUpload fu;
    fu = (FileUpload) this.getComponentByName("myFileUpload");
    IFileParam fileParam = ((FileUpload) getComponentByName("myFileUpload")).getFile();
    File f       = fileParam.getFile();
    file         = fu.getFile().getFile();
    absolutepath = fu.getFile().getFile().getAbsolutePath();
    this.sourceFileInput = new FileInputStream(file);
    input = new ObjectInputStream(sourceFileInput);
    The last line of code seems to generate te error.

    Hi,
    I have found the answers, thank you both.
    (I included the examle code. Perhaps of some use to someone.)
    FileUpload fu;
    fu = null;
    fu = (FileUpload) this.getComponentByName("myFileUpload");
    //       this is the temporary file
    if (fu != null) {
         IFileParam fileParam = ((FileUpload) getComponentByName("myFileUpload")).getFile();
         if (fileParam != null) {
              // get info about this file and create a FileInputStream
              File f = fileParam.getFile();
              if (f != null) {
                   try {
                        fis = new FileInputStream(f);
                   // process exceptions opening files
                   catch (FileNotFoundException ex) {
                        myBean.setMessage(
                             "1" + f + ex.getLocalizedMessage());
                   isr = new InputStreamReader(fis);
                   br = new BufferedReader(isr);
    String textLine = "";
    do {
         try {
              textLine = (String) br.readLine();
         } catch (IOException e) {
              myBean.setMessage(
                   "1" + e.getLocalizedMessage());
         // Jco append table & put data into the record
         // (I_FILE is the table with txt data that is sent to the RFC)
         I_FILE.appendRow();     
         I_FILE.setValue(textLine, "REC");                              
    } while (textLine != null);

  • StreamCorruptedException: does not contain a serialized object?

    Can someone tell me why am I getting this exception:
    C:\javapr>java FetchObject
    Couldn't retrieve binary data: java.io.StreamCorruptedException: InputStream
    does not contain a serialized object
    java.io.StreamCorruptedException: InputStream does
    not contain a serialized object
    at java.io.ObjectInputStream.readStreamHeader
    (ObjectInputStream.java:849)
    at java.io.ObjectInputStream.<init>
    (ObjectInputStream.java:168)
    at FetchObject.main(FetchObject.java:23)
    import java.sql.*;
    import java.util.*;
    import java.io.*;
    class FetchObject implements Serializable {
        public static void main (String[] args) {
            try {
                String driver = "oracle.jdbc.driver.OracleDriver";
                Class.forName(driver);
                String url = "jdbc:oracle:thin:@mymachine:1521:homedeva";
                Connection conn = DriverManager.getConnection(url,"cnn","cnn");
                FetchObject i = new FetchObject();
                    // Select related
                    try
                         byte[] recdBlob = i.selectBlob( 1 , conn ); 
                         ByteArrayInputStream bytes = new ByteArrayInputStream(recdBlob);
                         ObjectInputStream deserialize = new ObjectInputStream( bytes );
              Employee x = (Employee)deserialize.readObject();
                    catch( Exception ex )
                  System.err.println("Couldn't retrieve binary data: " + ex);
                  ex.printStackTrace();
         catch( Exception ex )
              ex.printStackTrace();
        public byte[] selectBlob( int id, Connection conn )
         byte[] returndata = null;
         try
              Statement stmt = conn.createStatement();
              String sql = "SELECT id, rowdata FROM blobs WHERE id = " + id;
              ResultSet rs = stmt.executeQuery(sql);
              if ( rs.next() )
                           try
                               ByteArrayOutputStream baos = new ByteArrayOutputStream(1024);
                               BufferedInputStream bis = new BufferedInputStream( rs.getBinaryStream("rowdata") );
                             byte[] bindata = new byte[4096];
                               int bytesread = 0;
                               if ( !rs.wasNull() )
                                       if ( (bytesread = bis.read(bindata,0,bindata.length)) != -1 )
                                          baos.write(bindata,0,bytesread);
                                returndata = baos.toByteArray();
                             baos.flush();
                                bis.close();
                       catch ( Exception ex )
                            System.err.println("Problem retrieving binary data: " + ex);
                        rs.close();
                         stmt.close();  
               catch ( Exception ex )
                    System.err.println("Couldn't retrieve binary data: " + ex);
            return returndata;
    import java.io.*;
    class Employee implements Serializable
         private String lastName;
         private String firstName;
         public Employee(String lastName, String firstName)
              this.lastName = lastName; 
              this.firstName = firstName;
    }

    To clarify I have stored an Employee Object as a Blob in the Oracle database and am attempting to retreive the
    Employee Object from this Blob.
    Thanks

  • Java.io.StreamCorruptedException: InputStream does not contain a serialized object

              I have an applet which calls a JSP to write data object to the db and then the
              JSP sends back the updated data object. The writing part is ok but the response
              is giving the following error. The data object is in a separate class which implements
              Serialized.
              Here's the code in the applet calling the JSP and the response from the JSP
              URL server = null;
              String urlConnectionString = "http://localhost:7001/isLoginValid.jsp";
              try
              server = new URL(urlConnectionString);
              catch(MalformedURLException e)
              System.out.println("URL exception: " + e );
              // send request
              ObjectInputStream response = null;
              Object result = null;
              try
              URLConnection conn = server.openConnection();
              conn.setDoOutput(true);
              conn.setUseCaches(false);
              conn.setRequestProperty("Content-Type", "application/octet-stream");
              ObjectOutputStream request = new ObjectOutputStream(new
              BufferedOutputStream(conn.getOutputStream()));
              request.writeObject((Object)dvo);
              request.flush();
              request.close();
              // get the result input stream
              response = new ObjectInputStream(new BufferedInputStream
              (conn.getInputStream()));
              // read response back from the server
              result = response.readObject();
              if( result!=null && (result instanceof DataVO))
              dvo = (DataVO)result;
              String vo = dvo.printDataVO();
              System.out.println("*DataVO*\n"+vo);
              else
              System.out.println("not an instanceof DataVO");
              catch(IOException ignored)
              System.out.println("Error in DataVO response");
              ignored.printStackTrace();
              Here's the code in the JSP sending the response back to the applet. The 'dvo'
              object is the object which is serialized and has gets and sets for the diff. data
              elements. When I print the 'dvo' before writing the object to outputStream it
              prints the correct values for the data element.
              // send response
              response.setStatus(HttpServletResponse.SC_OK);
              ObjectOutputStream outputStream = new ObjectOutputStream (new BufferedOutputStream
              (response.getOutputStream()));
              outputStream.writeObject(dvo);
              outputStream.flush();
              ERROR is as follows:
              Error in DataVO response
              java.io.StreamCorruptedException: InputStream does not contain a serialized object
              at java/io/ObjectInputStream.readStreamHeader
              at java/io/ObjectInputStream.<init>
              What am I doing wrong?. Please respond soon. The applet is run on IIS and the
              JSP in on weblogic 6.1. I'm not sure if that makes any difference.
              

              I have an applet which calls a JSP to write data object to the db and then the
              JSP sends back the updated data object. The writing part is ok but the response
              is giving the following error. The data object is in a separate class which implements
              Serialized.
              Here's the code in the applet calling the JSP and the response from the JSP
              URL server = null;
              String urlConnectionString = "http://localhost:7001/isLoginValid.jsp";
              try
              server = new URL(urlConnectionString);
              catch(MalformedURLException e)
              System.out.println("URL exception: " + e );
              // send request
              ObjectInputStream response = null;
              Object result = null;
              try
              URLConnection conn = server.openConnection();
              conn.setDoOutput(true);
              conn.setUseCaches(false);
              conn.setRequestProperty("Content-Type", "application/octet-stream");
              ObjectOutputStream request = new ObjectOutputStream(new
              BufferedOutputStream(conn.getOutputStream()));
              request.writeObject((Object)dvo);
              request.flush();
              request.close();
              // get the result input stream
              response = new ObjectInputStream(new BufferedInputStream
              (conn.getInputStream()));
              // read response back from the server
              result = response.readObject();
              if( result!=null && (result instanceof DataVO))
              dvo = (DataVO)result;
              String vo = dvo.printDataVO();
              System.out.println("*DataVO*\n"+vo);
              else
              System.out.println("not an instanceof DataVO");
              catch(IOException ignored)
              System.out.println("Error in DataVO response");
              ignored.printStackTrace();
              Here's the code in the JSP sending the response back to the applet. The 'dvo'
              object is the object which is serialized and has gets and sets for the diff. data
              elements. When I print the 'dvo' before writing the object to outputStream it
              prints the correct values for the data element.
              // send response
              response.setStatus(HttpServletResponse.SC_OK);
              ObjectOutputStream outputStream = new ObjectOutputStream (new BufferedOutputStream
              (response.getOutputStream()));
              outputStream.writeObject(dvo);
              outputStream.flush();
              ERROR is as follows:
              Error in DataVO response
              java.io.StreamCorruptedException: InputStream does not contain a serialized object
              at java/io/ObjectInputStream.readStreamHeader
              at java/io/ObjectInputStream.<init>
              What am I doing wrong?. Please respond soon. The applet is run on IIS and the
              JSP in on weblogic 6.1. I'm not sure if that makes any difference.
              

  • Certificate does not contain the correct site name

    Hello,
    I have to make a midlet that connect to a tomcat 5.5.9 server with ssl.
    I import the certificate whit tomcat alias in the wireless toolkit but when i run the midlet this error appear: Certificate does not contain the correct site name
    import java.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    public class HelloNet extends MIDlet implements CommandListener , Runnable{
    // User interface command to exit the current
    // application.
    private Command exitCommand = new Command("Exit",
    Command.EXIT, 2);
    // User interface command to issue an HTTP GET
    // request.
    private Command getCommand = new Command("Get",
    Command.SCREEN, 1);
    /// The current display object.
    private Display display;
    // The url to GET from the 'net.
    private String url;
    * Initialize the MIDlet with a handle to the
    * current display.
    public HelloNet() {
    url = "https://127.0.0.1:8443/Hello.txt";
         display = Display.getDisplay(this);
    * This lifecycle method should return immediately
    * to keep the dispatcher
    * from hanging.
    public void startApp() {
         showPrompt();
    * Display the main screen.
    void showPrompt() {
    String s = "Press Get to fetch " + url;
    TextBox t = new TextBox("Http Result", s,
    s.length(), 0);
    t.addCommand(exitCommand);
    t.addCommand(getCommand);
    t.setCommandListener(this);
         display.setCurrent(t);
    * pauseApp signals the thread to stop by clearing
    * the thread field.
    * If stopped incorrectly, it will be restarted from
    * scratch later.
    public void pauseApp() {
    * destroyApp must cleanup everything. The thread
    * is signaled
    * to stop and no result is produced.
    * @param unconditional is a flag to indicate that
    * forced shutdown
    * is requested
    public void destroyApp(boolean unconditional) {
    * commandAction responds to commands
    * @param c command to perform
    * @param s Screen displayable object
    public void commandAction(Command c, Displayable s) {
         if (c == exitCommand) {
         destroyApp(false);
         notifyDestroyed();
         } else if (c == getCommand) {
              Thread th= new Thread (this);
              th.start();
    * Read the content of the page.
    public void run() {
    TextBox t = null;
    StringBuffer b = new StringBuffer();
    HttpsConnection c = null;
    InputStream is = null;
         try {
         int len = 0;
         int ch = 0;
         System.out.println("Cerco di leggere");
    c = (HttpsConnection)Connector.open(url);
    c.setRequestMethod(HttpsConnection.GET);
         is = c.openInputStream();
    // length of content to be read.
    len = (int) c.getLength();
    if (len != -1) {
    // Read exactly Content-Length bytes
    for(int i=0; i<len; i++) {
    if((ch = is.read()) != -1) {
    b.append((char) ch);
    } else {
    // Read until connection is closed.
    while((ch = is.read()) != -1) {
    len = is.available();
    b.append((char) ch);
    t = new TextBox("Https Result", b.toString(),
    b.length(), 0);
         } catch (Exception e) {
    e.printStackTrace();
    String s = e.toString();
    if(s != null) {
    t = new TextBox("Https Error", s, s.length(),
    0);
    } finally {
    if (is != null) {
         try {
              is.close();
         } catch (Exception ce) { }
    if (c != null) {
         try {
              c.close();
         } catch (Exception ce) { }
    display.setCurrent(t);
    }

    re: code tags, please see http://forum.java.sun.com/help.jspa?sec=formatting.
    As for the rest:
    See, we now know that you used keytool to generate you certificate. You need a new certificate. This time, when keytool asks you for a first and last name, type 127.0.0.1.

  • Selected model does not contain any target value prior

    Hi ODM experts,
    I have tried to apply the SVM alg in order to find anomalous records.The table source have rows like that:
    uniq_rec ID NAME A1 A2 A3 A4 A5 data
    577     2052956018     NAMEHDRCP8     2.27     0.4     85.46     0.01     14.54     24-JAN-13
    578     1250914484     NAMEDJDRVP3     11.45     1.24     56.24     0.01     43.77     24-JAN-13
    579     1968689283     NAMEDKEND12     0.000011     6.78     0.000029     0.01     0.091     24-JAN-13
    580     2063389130     NAMEDNMXG14     0.000011     0.65     36.65     0.02     0.091     24-JAN-13
    unq_rec is the pk, id is the id for the generic name and A1 .. A5 attributes ,data when collection occur etc
    I'm trying to execute the following code:
    drop table ALG_SET;
    exec dbms_data_mining.drop_model('SVMODEL');
    create table ALG_SET (setting_name varchar2(30), setting_value varchar2(4000));
    insert into ALG_SET values ('ALGO_NAME','ALGO_SUPPORT_VECTOR_MACHINES');
    insert into ALG_SET values ('PREP_AUTO','ON');
    commit;
    Begin
    dbms_data_mining.create_model('SVMODEL', 'CLASSIFICATION', 'ODM_PAR_FIN_HIST', 'UNQ_CRT', null, 'ALG_SET');
    end;
    The results is the following error:ORA-40104: invalid training data for model build ( if I run the code) .If I run from graphical interface I have obtained this
    error code " Selected model does not contain any target value prior"(using the similar model - SVM for anomaly detction plus the same source table )
    Please advice what is missing or wrong and if possible how to bypass this issue.
    Thanks in advance for support.
    Best Regards,
    Bogdan

    Here is also a newer example of creating a SVM Anomaly model from ODM sample code (12.1 version but this applies to 11.2):
    Rem
    Rem $Header: rdbms/demo/dmsvodem.sql /main/6 2012/04/15 16:31:56 xbarr Exp $
    Rem
    Rem dmsvodem.sql
    Rem
    Rem Copyright (c) 2004, 2012, Oracle and/or its affiliates.
    Rem All rights reserved.
    Rem
    Rem    NAME
    Rem      dmsvodem.sql - Sample program for the DBMS_DATA_MINING package.
    Rem
    Rem    DESCRIPTION
    Rem      This script creates an anomaly detection model
    Rem      for data analysis and outlier identification using the
    Rem      one-class SVM algorithm
    Rem      and data in the SH (Sales History)schema in the RDBMS.
    Rem
    Rem    NOTES
    Rem   
    Rem
    Rem    MODIFIED   (MM/DD/YY)
    Rem    amozes      01/23/12 - updates for 12c
    Rem    xbarr       01/10/12 - add prediction_details demo
    Rem    ramkrish    06/14/07 - remove commit after settings
    Rem    ramkrish    10/25/07 - replace deprecated get_model calls with catalog
    Rem                           queries
    Rem    ktaylor     07/11/05 - minor edits to comments
    Rem    jcjeon      01/18/05 - add column format
    Rem    bmilenov    10/28/04 - bmilenov_oneclass_demo
    Rem    bmilenov    10/25/04 - Remove dbms_output statements
    Rem    bmilenov    10/22/04 - Comment revision
    Rem    bmilenov    10/20/04 - Created
    Rem
    SET serveroutput ON
    SET trimspool ON 
    SET pages 10000
    SET echo ON
    --                            SAMPLE PROBLEM
    -- Given demographics about a set of customers that are known to have
    -- an affinity card, 1) find the most atypical members of this group
    -- (outlier identification), 2) discover the common demographic
    -- characteristics of the most typical customers with affinity card,
    -- and 3) compute how typical a given new/hypothetical customer is.
    -- DATA
    -- The data for this sample is composed from base tables in the SH schema
    -- (See Sample Schema Documentation) and presented through a view:
    -- mining_data_one_class_v
    -- (See dmsh.sql for view definition).
    --                            BUILD THE MODEL
    -- Cleanup old model with the same name (if any)
    BEGIN DBMS_DATA_MINING.DROP_MODEL('SVMO_SH_Clas_sample');
    EXCEPTION WHEN OTHERS THEN NULL; END;
    -- PREPARE DATA
    -- Automatic data preparation is used.
    -- SPECIFY SETTINGS
    -- Cleanup old settings table (if any)
    BEGIN
      EXECUTE IMMEDIATE 'DROP TABLE svmo_sh_sample_settings';
    EXCEPTION WHEN OTHERS THEN
      NULL;
    END;
    -- CREATE AND POPULATE A SETTINGS TABLE
    set echo off
    CREATE TABLE svmo_sh_sample_settings (
      setting_name  VARCHAR2(30),
      setting_value VARCHAR2(4000));
    set echo on
    BEGIN      
      -- Populate settings table
      -- SVM needs to be selected explicitly (default classifier: Naive Bayes)
      -- Examples of other possible overrides are:
      -- select a different rate of outliers in the data (default 0.1)
      -- (dbms_data_mining.svms_outlier_rate, ,0.05);
      -- select a kernel type (default kernel: selected by the algorithm)
      -- (dbms_data_mining.svms_kernel_function, dbms_data_mining.svms_linear);
      -- (dbms_data_mining.svms_kernel_function, dbms_data_mining.svms_gaussian);
      -- turn off active learning (enabled by default)
      -- (dbms_data_mining.svms_active_learning, dbms_data_mining.svms_al_disable);
      INSERT INTO svmo_sh_sample_settings (setting_name, setting_value) VALUES
      (dbms_data_mining.algo_name, dbms_data_mining.algo_support_vector_machines); 
      INSERT INTO svmo_sh_sample_settings (setting_name, setting_value) VALUES
      (dbms_data_mining.prep_auto, dbms_data_mining.prep_auto_on);
    END;
    -- CREATE A MODEL
    -- Build a new one-class SVM Model
    -- Note the NULL sprecification for target column name
    BEGIN
      DBMS_DATA_MINING.CREATE_MODEL(
        model_name          => 'SVMO_SH_Clas_sample',
        mining_function     => dbms_data_mining.classification,
        data_table_name     => 'mining_data_one_class_v',
        case_id_column_name => 'cust_id',
        target_column_name  => NULL,
        settings_table_name => 'svmo_sh_sample_settings');
    END;
    -- DISPLAY MODEL SETTINGS
    column setting_name format a30
    column setting_value format a30
    SELECT setting_name, setting_value
      FROM user_mining_model_settings
    WHERE model_name = 'SVMO_SH_CLAS_SAMPLE'
    ORDER BY setting_name;

  • Stack file that is generated does not contain any java components

    We are in process of upgrading our ecc6.0 system with ehp4. The enhancement is stuck up in configuration phase for JAVA. Though we have configured Java in solution manager the stack file that is generated does not contain any java components and so the installation is stuck up. Kindly request you to advice us on this issue .
    Attached is the 'Trouble Ticket Report', PREPARE_JSPM_QUEUE_CSZ_01.LOG, and SMSDXML_EA4_20100623144541.375.txt
    ++++
    Trouble Ticket Report
    Installation of enhancement package 1 for SAP NetWeaver 7.0
    SID................: EA4
    Hostname...........: wipro
    Install directory..: e:/usr/sap/EA4
    Upgrade directory..: F:\EHPI\java
    Database...........: Oracle
    Operating System...: NT
    JDK version........: 1.6.0_07 SAP AG
    SAPJup version.....: 3.4.29
    Source release.....: 700
    Target release.....: 700
    Start release SP...: $(/J2EE/StandardSystem/SPLevel)
    Target release SP..: $(/J2EE/ShadowSystem/SPLevel)
    Current usages.....:
    ABAP stack present.: true
    The execution of PREPARE/INIT/PREPARE_JSPM_QUEUE ended in error.
    The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    More information can be found in the log file F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_02.LOG.
    Use the information provided to trouble-shoot the problem. There might be an OSS note providing a solution to this problem. Search for OSS notes with the following search terms:
    com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue
    com.sap.sdt.ucp.phases.PhaseException
    The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    PREPARE_JSPM_QUEUE
    INIT
    NetWeaver Enhancement Package Installation
    SAPJup
    Java Enhancement Package Installation
    ++++++
    PREPARE_JSPM_QUEUE_CSZ_01.LOG>>
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[2.0.7.1006]/>
    <!NAME[F:\EHPI\java\log\PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
    <!PATTERN[PREPARE_JSPM_QUEUE_CSZ_01.LOG]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/>
    <!ENCODING[UTF8]/>
    <!LOGHEADER[END]/>
    Jun 28, 2010 9:21:23 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:754) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been started.
    Jun 28, 2010 9:21:23 AM [Info]:                      com.sap.sdt.ucp.phases.AbstractPhaseType.initialize(AbstractPhaseType.java:755) [Thread[main,5,main]]: Phase type is com.sap.sdt.j2ee.phases.PhaseTypePrepareJSPMQueue.
    Jun 28, 2010 9:21:23 AM [Info]:                   com.sap.sdt.ucp.phases.AbstractPhaseType.logParameters(AbstractPhaseType.java:409) [Thread[main,5,main]]:   Parameter inputFile=EHPComponents.xml
    Jun 28, 2010 9:21:23 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMQueuePreparatorFactory.createJSPMQueuePreparator(JSPMQueuePreparatorFactory.java:93) [Thread[main,5,main]]: Creating JSPM SP Stack  queue preparator.
    Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.ucp.dialog.elim.DialogEliminatorContainer.canBeOmitted(DialogEliminatorContainer.java:96) [Thread[main,5,main]]: Dialog eliminator spStackDialogEliminator allows to omit dialog SPStackLocationDialog
    Jun 28, 2010 9:21:24 AM [Info]:                  com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator RequiredFields.
    Jun 28, 2010 9:21:24 AM [Info]:                  com.sap.sdt.util.validate.ValidationProcessor.validate(ValidationProcessor.java:97) [Thread[main,5,main]]: Validatable parameter SP/STACK/LOCATION has been validated by validator SPStackLocationValidator.
    Jun 28, 2010 9:21:24 AM [Info]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:107) [Thread[main,5,main]]: Using SP Stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml.
    Jun 28, 2010 9:21:24 AM [Info]:                   com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:488) [Thread[main,5,main]]: STACK-SHORT-NAME tag is missing. The CAPTION of the stack will be used as stack name.
    Jun 28, 2010 9:21:24 AM [Info]:                   com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseStackTag(SPXmlParser.java:582) [Thread[main,5,main]]: PRODUCT-PPMS-NAME tag is missing. The CAPTION of the product will be used as product PPMS name.
    Jun 28, 2010 9:21:24 AM [Info]:                      com.sap.sdt.j2ee.tools.spxmlparser.SPXmlParser.parseSPXml(SPXmlParser.java:424) [Thread[main,5,main]]: Parsing of stack definition file E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml has finished.
    Jun 28, 2010 9:21:24 AM [Error]:                       com.sap.sdt.ucp.phases.AbstractPhaseType.doExecute(AbstractPhaseType.java:863) [Thread[main,5,main]]: Exception has occurred during the execution of the phase.
    Jun 28, 2010 9:21:24 AM [Error]: com.sap.sdt.j2ee.phases.jspm.JSPMSpStackQueuePreparator.createQueue(JSPMSpStackQueuePreparator.java:136) [Thread[main,5,main]]: The stack E:\usr\sap\trans\EPS\SMSDXML_EA4_20100625054857.968.xml contains no components for this system.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:906) [Thread[main,5,main]]: Phase PREPARE/INIT/PREPARE_JSPM_QUEUE has been completed.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:907) [Thread[main,5,main]]: Start time: 2010/06/28 09:21:23.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:909) [Thread[main,5,main]]: End time: 2010/06/28 09:21:24.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:910) [Thread[main,5,main]]: Duration: 0:00:00.781.
    Jun 28, 2010 9:21:24 AM [Info]:                         com.sap.sdt.ucp.phases.AbstractPhaseType.cleanup(AbstractPhaseType.java:911) [Thread[main,5,main]]: Phase status is error.
    ++++++++++++++++++++++
    [stack xml data: version=1.0]
    [SPAM_CVERS]
    ST-PI                         2005_1_7000006
    LSOFE                         600       0015
    SAP_AP                        700       0015
    SAP_BASIS                     701       0003
    SAP_ABA                       701       0003
    SAP_BW                        701       0003
    PI_BASIS                      701       0003
    PLMWUI                        700       0002
    SAP_APPL                      604       0002
    EA-APPL                       604       0002
    SAP_BS_FND                    701       0002
    EA-IPPE                       404       0002
    WEBCUIF                       700       0002
    INSURANCE                     604       0002
    FI-CA                         604       0002
    ERECRUIT                      604       0002
    ECC-DIMP                      604       0002
    EA-DFPS                       604       0002
    IS-UT                         604       0002
    IS-H                          604       0003
    EA-RETAIL                     604       0002
    EA-FINSERV                    604       0002
    IS-OIL                        604       0002
    IS-PRA                        604       0002
    IS-M                          604       0002
    SEM-BW                        604       0002
    FINBASIS                      604       0002
    FI-CAX                        604       0002
    EA-GLTRADE                    604       0002
    IS-CWM                        604       0002
    EA-PS                         604       0002
    IS-PS-CA                      604       0002
    EA-HR                         604       0005
    SAP_HR                        604       0005
    ECC-SE                        604       0002
    [PRDVERS]                                  
    01200314690900000432SAP ERP ENHANCE PACKAGE       EHP2 FOR SAP ERP 6.0          sap.com                       EHP2 FOR SAP ERP 6.0                                                    -00000000000000
    01200314690900000463SAP ERP ENHANCE PACKAGE       EHP4 FOR SAP ERP 6.0          sap.com                       EHP4 FOR SAP ERP 6.0                                                    -00000000000000
    01200615320900001296                                                            sap.com                                                                                +00000000000000
    01200615320900001469SAP ERP ENHANCE PACKAGE       EHP3 FOR SAP ERP 6.0          sap.com                       EHP3 FOR SAP ERP 6.0                                                    -00000000000000
    01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01                                           +00000000000000
    [SWFEATURE]                                                                               
    1                   01200615320900001296SAP ERP                       2005                          sap.com                       SAP ERP 6.0: SAP ECC Server
    19                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Discrete Ind. & Mill Products
    20                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Media
    21                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Utilities/Waste&Recycl./Telco
    23                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Leasing/Contract A/R & A/P
    24                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Retail
    25                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Global Trade
    26                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Supply Chain Mgmt
    30                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Central Applications
    31                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Strategic Enterprise Mgmt
    33                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Human Capital Management
    37                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas
    38                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Catch Weight Management
    42                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Public Sector Accounting
    43                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Insurance
    44                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Hospital
    45                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ECC Server VPack successor
    46                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: ERecruiting
    47                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Defense & Public Security
    48                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Financial Services
    55                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Oil & Gas with Utilities
    56                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: Defense
    59                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: PLM Core
    69                  01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: EAM config control
    9                   01200615320900003195EHP4 FOR SAP ERP 6.0_NW701    EHP4 FOR ERP 6.0_NW701        sap.com                       EHP4 FOR SAP ERP 6.0 / NW7.01: SAP ESA ECC-SE
    ++++++++++++++++

    Though we have configured Java in solution manager the stack file that is generated does not contain any java components
    You will probably need to update Solution Manager first with a number of corrections so you can get a correctly generated stack file. Depending on your ST400 version in Solution Manager apply collective corrections from "Note 1461849 - MOpz: Collective corrections 24" or "Note 1452118 - MOpz: Collective Corrections 23". They generally deal with these kind of stack file issues.
    Nelis

  • BI Publisher Word Template The report does not contain any data fields.

    I have OBIEE BI Publisher report (10.3.4) working fine using BIP but using MS Word 2003 I want to create new template and want to add charts etc.
    Step 1. In MS Word I successfully login Oracle BI Publisher as Administrator
    2. Oracle BI Publisher -> Open (I open the report)
    3. Go to Insert -> Table Wizard
    I get this error:
    The report does not contain any data fields. Please make sure that the reports generates data with the default settings or provide a valid XML file.
    Please help

    Hi
    How do I load XML data? Also why XML data load is required? Do I have to export XML data from BIP View screen and load from the same file from the word?
    Please clarify
    Thanks

  • Unable to load the EJB module. DeploymentContext does not contain any EJB.

    I'm writing an enterprise application to familiarize myself with Glassfish 3.1.2 and EJB 3.1. I've created several local, stateless beans, and injected one into a JSF managed bean. The ejb and web modules compile fine, but when I launch the application with Glassfish I get the following startup error and the application does not deploy. I don't understand what it means, can someone ellaborate?
    SEVERE: Exception while invoking class org.glassfish.ejb.startup.EjbDeployer prepare method
    SEVERE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method
    SEVERE: Exception while preparing the app
    SEVERE: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
    org.glassfish.deployment.common.DeploymentException: Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for D:\Documents\NetBeansProjects\Test\dist\gfdeploy\Test\Test-war_war.
    If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected
         at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:166)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:871)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:410)
         at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
         at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
         at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
         at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
         at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)

    My guess is that you deployed an ejb without bean in it. when you have an ejb module, be sure you have at least one bean present.
    Are you sure you have implementend some beans? Or did you do this only in the web module?
    Try adding an @Stateless bean doing nothing in you ejb module, redeploy and let me know if that works

  • File Screening Audit Report does not contain any data : report statistics is empty

    Hi ,
     I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008. 
    I am getting details of file screen audit in Event log  , But incident report file screen audit report does not contain any value.
    Getting report for each incident of file screen audit  , But it does not contain any data in report statistics.
    Data available in scheduled report of file screen audit.. not available in incident report only..
    Please assist...
    Thanks,
    Vasanth.M
    Thanks, Vasanth.M.

    Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
    technet library :
    https://technet.microsoft.com/en-us/library/cc754540.aspx
    Carlo

  • HT4910 My iCloud contact list does not contain all the contacts that are in my phone.  If I delete one from my phone it will delete it instantly from the iCloud contacts.  But how do I get all those other contacts on my phone to the iCould on my Windows c

    My iCloud contact list does not contain all the contacts listed in my iPhone 5S.  If I delete a contact from the phone it instantly deletes it from the iCloud on my PC.  But my PC iCloud list is lacking many of the contacts on my phone.

    And which account did you enter these contacts in?
    On My Mac
    or
    iCloud?

Maybe you are looking for

  • Vista 32 bit

    I can not get new version to work at all.  I have installed uninstalled reinstalled and followed all the suggestions on trouble shooting page and still nothing is working.  Does anyone got any idea what can be done to fix this.

  • Firewire 400 vs. 800

    Hi, I'm geting close to deciding whether to buy a 15" or 17" MPB. I'm leaning to the 15" due to the cost and more compact size. It seems the biggest difference (besides the screen which is a pro or con depending on your requirements) is the DL drive

  • How to delete unwanted music on my iphone music ap

    How do I get rid of unwanted music on my Iphone music ap through Itunes. I didn't order it, its black and white, and caused me driving problems trying to get my music, that I paid for, back up. I want it delete this stuff and prevent it from coming b

  • Adobe Photoshop Elements license

    I am considering purchasing Adobe Photoshop Elements for my daughters.  They each have their own laptop.  Can this be installed on two computers?  Does it come with more than one license?  Thanks

  • Regarding Adobe livecycle 7.5 ST Output

    Hi, I am using Adobe livecycle 7.5 ST version for decoding the Adobe forms. Sometimes livecycle generates 0 byte file as output. But when i try to decode the same file in another environment, it decoded successfully. Can anyone help on this issue? Ve