Webservices and Weblogic

I have generated service end point from WSDL file using JWSDP2.0 and I have made .war file , I have hosted jboss , it's working properly .
But I want deploying this same war file on weblogic 8.1.5 , is it work on weblogic or not?
if not, then please tell me what I can need to do?
my web application structure like
WEB-INF------> wsdl(folder),lib(folder),classes(folder),webservices.xml ,mapping.xml and web.xml

I have generated service end point from WSDL file using JWSDP2.0 and I have made .war file , I have hosted jboss , it's working properly .
But I want deploying this same war file on weblogic 8.1.5 , is it work on weblogic or not?
if not, then please tell me what I can need to do?
my web application structure like
WEB-INF------> wsdl(folder),lib(folder),classes(folder),webservices.xml ,mapping.xml and web.xml

Similar Messages

  • JWSDP, webservices and weblogic 8.1

    I've been trying to get a web service build via a WSDL provided by a partner company. I have tried without success versions 1.1, 1.3, 1.6 and 2.0 of the JWSDP. I get exceptions during runtime with all of them when I try to call the web service from my client.
    2.0 Can't use because it seems to require Java 1.5
    1.1
    SOAPFaultException Unknow Data Encoding Style
    1.3 and 1.6
    [java] java.lang.NoSuchMethodError: <init>
    [java] at com.mcdata.websvc.riverbed.ExchangeDataResponse_LiteralSerializer.<init>(Ljavax.xml.namespace.QName;L
    java.lang.String;Z)V(ExchangeDataResponse_LiteralSerializer.java:30)
    [java] at com.mcdata.websvc.riverbed.DataExchanger_SerializerRegistry.getRegistry()Ljavax.xml.rpc.encoding.Type
    MappingRegistry;(DataExchanger_SerializerRegistry.java:30)
    [java] at com.mcdata.websvc.riverbed.DataExchanger_Impl.<init>()V(DataExchanger_Impl.java:24)
    [java] at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.createAndSendXML(Ljava.lang.String;)V(R
    iverbedShipmentSubscriberMDB.java:274)
    With each version I have copied the jaxrpc and saaj jar files into the appropriate location so that they get used during the build and are deployed within the EAR.
    I'm getting desparate, does anyone have any idea what is going on here? Is it possible to create a web service client with these tools?

    Creating And Deploying A JWSDP Web Service Client to Weblogic 8.1
    This setup produces an EAR containing a message driven bean in a jar file. When the MDB receives a message
    it checks to see if there is any data in a database table and if so calls the web service with that data. These instructions
    are for MS-Windows environments.
    In my setup I have:
    the weblogic domain at c:\b2b80
    the jwsdp at c:\apps\jwsdp-1.3
    extra jar files for the app server in c:\b2b80\lib
    the main weblogic installation at c:\apps\weblogic810\
    1> Download the the JWSDP version you wish to use and install it. (In this example I'm using 1.3)
    2> Create a project structure for you client like this:
         /project
              /earbuild
                   /META-INF
              /ejbbuild
                   /META-INF
              /ejbsource
              /wssource
    3> in the /project directory you will need a build.xml file that looks something like this: (the ant build targets are described at the end of this document)
    ==============================================================
    <?xml version="1.0"?>
    <project name="svcowner" default="buildall" basedir=".">
         <property file="classpath.settings"/>
         <property name="wssource" value="wssource"/>
         <property name="ejbsource" value="ejbsource"/>
         <property name="compileejbdest" value="ejbbuild"/>
         <property name="earbuilddest" value="earbuild"/>
         <property name="jarfilename" value="svcownerejb.jar"/>
         <property name="earfilename" value="svcowner.ear"/>
         <property name="debug" value="true"/>
         <property name="deprecation" value="true"/>
         <!-- this runs the create.bat which has all of the wscompile parameters -->
         <target name="cmdline_wscompile">
              <exec executable="wssource/create.bat"/>
         </target>
         <target name="compileejb" depends="cmdline_wscompile">
              <javac debug="${debug}" srcdir="${wssource}" classpath="${BUILD_CLASSPATH}"
                   destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
              <javac debug="${debug}" srcdir="${ejbsource}" classpath="${BUILD_CLASSPATH}"
                   destdir="${compileejbdest}" includes="**/*.java" deprecation="${deprecation}"/>
         </target>
         <target name="buildejbjar" depends="compileejb">
              <jar jarfile="${earbuilddest}/${jarfilename}" manifest="${compileejbdest}/META-INF/MANIFEST.txt">
                   <fileset dir="${compileejbdest}">
                        <include name="**/*.*"/>
                   </fileset>
              </jar>
         </target>
         <target name="buildear" depends="buildejbjar">
              <jar jarfile="${earfilename}">
                   <fileset dir="${earbuilddest}">
                        <include name="**/*.*"/>
                   </fileset>
              </jar>
         </target>
         <target name="deploy">
              <copy file="${earfilename}" todir="../../config/domain/applications"/>
         </target>
         <target name="buildall" description="build everything" depends="buildear, deploy">
         </target>
    </project>
    ==============================================================
    4> You need a matching classpath.settings file in the same directory, something like this:
    ==============================================================
    BUILD_CLASSPATH=/b2b80/lib/saaj-impl.jar;/b2b80/lib/saaj-api.jar;/b2b80/lib/jaxrpc-api.jar;/b2b80/lib/jaxrpc-impl.jar;c:/b2b80/lib/jaxrpc-spi.jar/b2b80/classes/;/b2b80/classes;/apps/weblogic810/server/lib/weblogic.jar;/apps/weblogic810/server/lib/weblogic_sp.jar;/apps/weblogic810/server/lib/xmlx.jar;/apps/weblogic810/server/ext/weblogic-tags.jar;/apps/weblogic810/server/ext/jdbc/oracle/920/ojdbc14_g.jar;/b2b80/lib/log4j.jar
    ==============================================================
    5> In the /project/earbuild/META-INF directory you need an application.xml file:
    ==============================================================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application_1_2.dtd'>
    <application>
    <display-name>svcownerb2b</display-name>
    <description>Application description</description>
    <module>
    <ejb>svcownerejb.jar</ejb>
    </module>
    </application>
    ==============================================================
    6> The /project/ejbsource directory contains the source for the client application. In my case this is a message driven bean (note that code below isn't complete). The most important part of the code below is the setting of the javax.xml.soap.MessageFactory system property.
    System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
    If you don't do this a weblogic class will be used and the code will fail.
    ==============================================================
    package com.svcclient.ejb.svcownershipment;
    import java.text.*;
    import java.io.*;
    import java.sql.*;
    import java.util.Properties;
    import javax.ejb.*;
    import javax.jms.*;
    import javax.naming.*;
    import javax.sql.DataSource;
    import com.svcclient.util.*;
    import org.w3c.dom.*;
    import com.svcclient.websvc.svcowner.*;
    import javax.xml.rpc.Stub;
    public class SvcOwnerShipmentSubscriberMDB implements MessageDrivenBean, MessageListener
    private transient MessageDrivenContext mdc = null;
    private static Context context;
    private final static String CLASSNAME = "SvcOwnerShipmentSubscriberMDB";
    private String DATASOURCE_JNDI = "svcclient.b2b";
    private static DataSource mDS = null;
    private SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    public SvcOwnerShipmentSubscriberMDB()
    System.getProperties().put("javax.xml.soap.MessageFactory","com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
    try
    if (context == null)
    context = new InitialContext() ;
    if (mDS == null)
    mDS = (DataSource)context.lookup(DATASOURCE_JNDI);
    catch (NamingException ex)
    ex.printStackTrace();
    catch(Exception ex)
    ex.printStackTrace();
    public void onMessage(javax.jms.Message message)
    TextMessage msg = null;
    String ordernumber = null;
    String lineid = null;
    try
    if (message instanceof TextMessage)
    msg = (TextMessage) message;
    ordernumber = msg.getStringProperty("ordernumber");
                   // the JMS message contains a property that is an order number
    createAndSendXML(ordernumber);
    catch (Throwable ex)
    ex.printStackTrace();
    private void createAndSendXML(String ordernumber)
    if(ordernumber==null)
    return;
    PreparedStatement statement = null;
    ResultSet rset = null;
    java.sql.Connection conn = null;
    try
    conn = DBHelper.getConnection(mDS,"SvcOwnerShipmentSubscriberMDB.createAndSendXML");
    statement = conn.prepareStatement("select * from ..."); // you SQL here
    statement.setString(1,ordernumber);
    rset = statement.executeQuery();
    StringBuffer data = new StringBuffer();
    data.append("<? version=\"1.0\"?>\n");
    data.append("<shippingRequest>\n");
    while(rset.next())
    data.append("\t<order_date>"+dateFormat.format(new java.util.Date(rset.getTimestamp("SCHEDULE_SHIP_DATE").getDate()))+"</order_date>\n");
    data.append("\t<brand_name>svcclient</brand_name>\n");
    data.append("\t<shipRequestType>Sale</shipRequestType>\n");
    data.append("</shippingRequest>\n");
              // call the web service with the data from the database
    DataExchanger_Impl impl = new DataExchanger_Impl();
    Stub stub = (Stub)(impl.getDataExchangerSoap());
    DataExchangerSoap dx = (DataExchangerSoap)stub;
    String resp = dx.exchangeData("svcclient", "mypassword", "Sales", data.toString());
    catch(SQLException sqle)
    sqle.printStackTrace();
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    if (rset != null)
    rset.close();
    if (statement != null)
    statement.close();
    if (conn != null)
    conn.close();
    catch(Exception x){}
    public void ejbCreate() { System.out.println("In SvcOwnerShipmentSubscriberMDB.ejbCreate()"); }
    public void setMessageDrivenContext(MessageDrivenContext mdc) { this.mdc = mdc; }
    public void ejbRemove() throws javax.ejb.EJBException { System.out.println("In SvcOwnerShipmentSubscriberMDB.remove()"); }
    ==============================================================
    7> The /project/ejbbuild/META-INF directory needs a MANIFEST.txt file.
    Manifest-Version: 1.0
    8> The /project/ejbbuild/META-INF directory needs a ejb-jar.xml file. This just sets up the MDB which is the client.
    ==============================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
    <display-name>SvcOwnerShipmentSubscriberMDB</display-name>
    <enterprise-beans>
    <message-driven>
    <display-name>SvcOwnerShipmentSubscriberMDB</display-name>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <ejb-class>com.svcclient.ejb.svcownershipment.SvcOwnerShipmentSubscriberMDB</ejb-class>
    <transaction-type>Container</transaction-type>
    <message-driven-destination>
    <destination-type>javax.jms.Topic</destination-type>
    <subscription-durability>NonDurable</subscription-durability>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <method-name>onMessage</method-name>
    <method-params>
    <method-param>javax.jms.Message</method-param>
    </method-params>
    </method>
    <trans-attribute>NotSupported</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    ==============================================================
    9> The /project/ejbbuild/META-INF directory needs a weblogic-ejb-jar.xml file.
    ==============================================================
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>SvcOwnerShipmentSubscriberMDB</ejb-name>
    <message-driven-descriptor>
    <pool>
    <max-beans-in-free-pool>5</max-beans-in-free-pool>
    <initial-beans-in-free-pool>1</initial-beans-in-free-pool>
    </pool>
    <!-- JNDI Name of the Topic that the SvcOwnerShipmentSubscriberMDB listens for messages on -->
    <destination-jndi-name>jms.svcownerShipmentsTopic</destination-jndi-name>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ==============================================================
    10> The /project/wssource directory needs a dataexchange.wsdl file. This is the WSDL describing the web service
    we want to connect to with our client.
    ==============================================================
    <?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="https://www.svcowner.com/mfg/DataExchange/"
    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="https://www.svcowner.com/mfg/DataExchange/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    name="">
    <wsdl:types>
    <s:schema elementFormDefault="qualified"
    targetNamespace="https://www.svcowner.com/mfg/DataExchange/">
    <s:element name="exchangeData">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="sender" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="transactionType" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="data" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="exchangeDataResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="exchangeDataResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    <wsdl:message name="exchangeDataSoapIn">
    <wsdl:part name="parameters" element="tns:exchangeData" />
    </wsdl:message>
    <wsdl:message name="exchangeDataSoapOut">
    <wsdl:part name="parameters" element="tns:exchangeDataResponse" />
    </wsdl:message>
    <wsdl:portType name="DataExchangerSoap">
    <wsdl:operation name="exchangeData">
    <wsdl:input message="tns:exchangeDataSoapIn" />
    <wsdl:output message="tns:exchangeDataSoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="DataExchangerSoap" type="tns:DataExchangerSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="exchangeData">
    <soap:operation soapAction="https://www.svcowner.com/mfg/DataExchange/exchangeData"
    style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="DataExchanger">
    <wsdl:port name="DataExchangerSoap" binding="tns:DataExchangerSoap">
    <soap:address location="https://svc.svcowner.com/mfg/dataexchange.php" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    ==============================================================
    10> The /project/wssource directory needs a websvc_config.xml file. This file tells wscompile where
    to find the WSDL file and the package name for the generated classes.
    ==============================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
         <wsdl location="wssource/dataexchange.wsdl" packageName="com.svcclient.websvc.svcowner"/>
    </configuration>
    ==============================================================
    11> The /project/wssource directory needs a create.bat file. This just sets up the environment
    and calls the wscompile batch file in the JWSDP. I had to tweak the wscompile.bat file to match
    my environment as well.
    ==============================================================
    SETLOCAL
    SET WSDP=C:\apps\jwsdp-1.3\
    SET ANT_HOME=%WSDP%;apache-ant
    SET PATH=%ANT_HOME%\bin;%WSDP%jaxrpc\bin;%PATH%
    SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
    call wscompile -gen:client -s ./wssource -keep -g -d ejbbuild wssource/websvc_config.xml
    ==============================================================
    12> The /project directory needs a build.bat file. Just a way for me to make sure my
    environment is set up right before doing the build.
    ==============================================================
    SETLOCAL
    SET ANT_HOME=c:\apps\jakarta-ant-1.4.1
    SET PATH=%ANT_HOME%\bin;%PATH%
    SET JAVA_HOME=c:\apps\weblogic810\jrockit81sp2_141_05
    call ant -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
    ==============================================================
    13> You need to copy the following jar files from the JWSDP into a location they can be used by the
    app server during run time and also for the build process. In my set up this is c:\b2b80\lib. Note that
    these are pointed to by the file in step 4.
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-impl.jar
    c:\apps\jwsdp-1.3\jaxrpc\lib\jaxrpc-spi.jar
    c:\apps\jwsdp-1.3\saaj\lib\saaj-api.jar
    c:\apps\jwsdp-1.3\saaj\lib\saaj-impl.jar
    14> You must make sure that the jar file in step 13 are at the front of the classpath for the
    weblogic server. WL comes with classes that conflict with these jars.
    ==============================================================
    So the idea is this, you run the /project/build.bat file from within the /project directory. This
    calls ant which uses the build.xml file to create everything and copy the EAR to the weblogic deployment
    directory. The default ant target is buildall.
    The cmdline_wscompile target runs the /project/wssource/create.bat file which in turn runs the wscompile.bat
    file from the jwsdp. This causes the dataexchange.wsdl file to processed and the client files to be generated.
    The generated java files go into the /project/wssource directory. The generated class files go into the
    /project/ejbbuild directory. They need to be there so the MDB can use them.
    Next the compileejb ant target compiles the MDB java file and places the resulting class file into the
    /project/ejbbuild directory.
    Next the buildejbjar ant target takes everything in the /project/ejbbuild directory and creates the ejb jar
    file that will be included in the EAR. This file is placed in the /project/earbuild directory.
    Finally the buildear ant target takes everything in the /project/ejbbuild directory and produces the EAR
    file for deployment. The EAR file is placed in the /project directory.
    The deploy task simply copies the EAR file into the weblogic domain applications directory.

  • JWSDP, webservices and weblogic 8.1 talking to a PHP web service

    Hello all. I have a web service client running in weblogic 8.1 on Redhat, when I try to send the data to the service I get:
    Sep 14, 2006 12:00:29 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
    Sep 14, 2006 12:00:29 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    SEVERE: SAAJ0535: Unable to internalize message
    Thu Sep 14 12:00:29 MDT 2006 RiverbedShipmentSubscriberMDB.createAndSendXML(): Exception: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
            HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    Thu Sep 14 12:00:30 MDT 2006: email information TO: [email protected] FROM: [email protected]
    Thu Sep 14 12:00:30 MDT 2006: sent mail
    java.rmi.RemoteException: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
            HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:88)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.createAndSendXML(Ljava.lang.String;)V(RiverbedShipmentSubscriberMDB.java:621)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.onMessage(Ljavax.jms.Message;)V(RiverbedShipmentSubscriberMDB.java:434)
            at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:382)
            at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
            at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
            at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(Ljava.lang.String;Lcom.sun.xml.rpc.soap.message.SOAPMessageContext;)V(HttpClientTransport.java:140)
            at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:96)
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:72)That is using JSWDP 1.6, when I use 1.3 I get a similar message:
    Thu Sep 14 11:46:29 MDT 2006 RiverbedShipmentSubscriberMDB.createAndSendXML(): Exception: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html; nested exception is:
            HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
    Thu Sep 14 11:46:29 MDT 2006: email information TO: [email protected] FROM: [email protected]
    Thu Sep 14 11:46:29 MDT 2006: sent mail
    java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html; nested exception is:
            HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:88)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.createAndSendXML(Ljava.lang.String;)V(RiverbedShipmentSubscriberMDB.java:621)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.onMessage(Ljavax.jms.Message;)V(RiverbedShipmentSubscriberMDB.java:434)
            at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:382)
            at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
            at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
            at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(Ljava.lang.String;Lcom.sun.xml.rpc.soap.message.SOAPMessageContext;)V(HttpClientTransport.java:140)
            at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:96)
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:72)This makes me think that the PHP web service is returning a content type header of text/html instead of text/xml. Is there a way to make the JWSDP code ignore that or to make the PHP code return the correct header content type?
    Here is a similar thread but I'm not having any luck with the answers in it:
    http://forum.java.sun.com/thread.jspa?threadID=643810

    Hello all. I have a web service client running in weblogic 8.1 on Redhat, when I try to send the data to the service I get:
    Sep 14, 2006 12:00:29 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message
    Sep 14, 2006 12:00:29 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    SEVERE: SAAJ0535: Unable to internalize message
    Thu Sep 14 12:00:29 MDT 2006 RiverbedShipmentSubscriberMDB.createAndSendXML(): Exception: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
            HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    Thu Sep 14 12:00:30 MDT 2006: email information TO: [email protected] FROM: [email protected]
    Thu Sep 14 12:00:30 MDT 2006: sent mail
    java.rmi.RemoteException: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message; nested exception is:
            HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:88)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.createAndSendXML(Ljava.lang.String;)V(RiverbedShipmentSubscriberMDB.java:621)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.onMessage(Ljavax.jms.Message;)V(RiverbedShipmentSubscriberMDB.java:434)
            at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:382)
            at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
            at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: HTTP transport error: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
            at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(Ljava.lang.String;Lcom.sun.xml.rpc.soap.message.SOAPMessageContext;)V(HttpClientTransport.java:140)
            at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:96)
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:72)That is using JSWDP 1.6, when I use 1.3 I get a similar message:
    Thu Sep 14 11:46:29 MDT 2006 RiverbedShipmentSubscriberMDB.createAndSendXML(): Exception: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html; nested exception is:
            HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
    Thu Sep 14 11:46:29 MDT 2006: email information TO: [email protected] FROM: [email protected]
    Thu Sep 14 11:46:29 MDT 2006: sent mail
    java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html; nested exception is:
            HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:88)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.createAndSendXML(Ljava.lang.String;)V(RiverbedShipmentSubscriberMDB.java:621)
            at com.mcdata.ejb.riverbedshipment.RiverbedShipmentSubscriberMDB.onMessage(Ljavax.jms.Message;)V(RiverbedShipmentSubscriberMDB.java:434)
            at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:382)
            at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
            at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
            at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Caused by: HTTP transport error: javax.xml.soap.SOAPException: Unsupported Content-Type: text/html
            at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(Ljava.lang.String;Lcom.sun.xml.rpc.soap.message.SOAPMessageContext;)V(HttpClientTransport.java:140)
            at com.sun.xml.rpc.client.StreamingSender._send(Ljava.lang.String;Lcom.sun.xml.rpc.client.StreamingSenderState;)V(StreamingSender.java:96)
            at com.mcdata.websvc.riverbed.client.DataExchangerSoap_Stub.exchangeData(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)Ljava.lang.String;(DataExchangerSoap_Stub.java:72)This makes me think that the PHP web service is returning a content type header of text/html instead of text/xml. Is there a way to make the JWSDP code ignore that or to make the PHP code return the correct header content type?
    Here is a similar thread but I'm not having any luck with the answers in it:
    http://forum.java.sun.com/thread.jspa?threadID=643810

  • Weblogic webservices and JSP

    Hi Folks,
    I have been stuck with this issue for quite sometime now. I have developed a simple webservice using a java class. It looks something like this..
    public class ReceiveMessageClass{
       public void receiveMessage(String msg){
          logIt(msg);
          //Store 'msg' in a memory variable so that the JSP can ping it every 10 sec and read it..
    }Now, I need a webpage to look at all the messages I recieve at this webservice. Sounds pretty easy? I have done this with Axis. I can create a WAR and my webservice and my JSP can co-exist and share a variable in memory. But with weblogic, a EAR is created and I am not sure how to get my JSP into the EAR. I am not sure how I can store this 'msg' into memory(some static vbl) and then have my JSP read it and display it.
    Any suggestions?

    I do not see any weblogic classes in the stack trace. So could this
    be something to do with tomcat?
    If you are just using the client side of the web services stack, you
    only need the Client.jar and webserviceclient.jar file in your war.
    Regards,
    -manoj.
    http://manojc.com
    "Stephen Zeng" <[email protected]> wrote in message
    news:3ef1d72c$[email protected]..
    >
    I have packed Client.jar, weblogic.jar, webservices.jar and jsp as aseperated
    war to call web sevice and run sucessfully in WLS7.0. But when I ran inTomcat
    4.0.1, I got the following error. I try set javax.xml.rpc.ServiceFactoryas context
    param in web.xml, but no use. <p>
    java.lang.ClassCastException <br>
    atjavax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.
    java:93)<br>
    atorg.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)<
    br>
    atorg.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCa
    che.java:165)<br>
    atorg.apache.jasper.compiler.TldLocationsCache.(TldLocationsCache.java:138)
    atorg.apache.jasper.EmbededServletOptions.(EmbededServletOptions.java:324)
    at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
    atorg.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:615)
    atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
    va:214)
    atorg.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
    66)
    atorg.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    Stephen

  • Error with ALBPM 10g / JAX-WS and WebLogic 10g

    Folks/People/Community:
    I have an application client running over weblogic 10g. This application needs to be integrated with an external WebServices running under ALBPM 10g and implemented using jax-ws.
    So far our application client running in standalone mode outside the weblogic server works without problems. But, running inside WebLogic 10g the application cannot establish connection with this external webservice and the exception is attached here. Also I'm sending our client source code.
    Please, do you know if WebLogic 10g requires special configurations in order to enable this type of communication?. We have other applications already integrated with other WebService providers without problems so far today. Only this interface is failing and honestly I don't know what is the problem.
    Thanks a lot in advance for your help!.
    Gabriel.
    log startup:
    starting weblogic with Java version:
    java version "1.6.0_05"
    <Dec 29, 2009 9:57:33 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967 >
    ---------------[BEGIN CUT HERE CODE]-----------
    private String SECURITY_NAMESPACE =
    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
    private String PAPI_ENDPOINT =
    "http://internal_hostname.domain.net:8780/papiws/PapiWebServiceEndpoint";
    private PapiWebService webService;
    private void initialize() throws MalformedURLException, SOAPException, OperationException_Exception {
         QName qName = new QName("http://bea.com/albpm/PapiWebService", "PapiWebService");
         Service service = PapiWebService_Service.create(new URL(PAPI_ENDPOINT), qName);
    // ERROR HERE ERROR HERE ERROR HERE
         webService = service.getPort(PapiWebService.class);
         // Authentication (OBPM)
         String sUsername = "mUser";
         String sPassword = "myPassword";
         addUsernameTokenProfile(webService, sUsername, sPassword);
         // Authentication (weblogic realm)
    sUsername = "weblogic";
    sPassword = "weblogic";
    addHttpBasicAuthentication(webService, sUsername, sPassword);
    ---------------[END CODE]-----------
    ---------------[BEGIN CUT HERE STACKTRACE]-----------
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested
    exception: com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee.jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
    Caused by: com.sun.xml.ws.util.ServiceConfigurationError:
    com.sun.xml.ws.api.pipe.TubelineAssemblerFactory: Provider weblogic.wsee .jaxws.WLSTubelineAssemblerFactory is specified in jar:file:/C:/Proyectos/Software/bea/wlserver_10.3/server/lib/weblogic.jar!/M
    ETA
    -INF/services/com.sun.xml.ws.api.pipe.TubelineAssemblerFactorybut could not be instantiated: java.lang.ClassCastException
    at com.sun.xml.ws.util.ServiceFinder.fail(ServiceFinder.java:233)
    at
    com.sun.xml.ws.util.ServiceFinder.access$300(ServiceFinder.java:141)
    at
    com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:379)
    at
    com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
    tory.java:104)
    at
    com.sun.xml.ws.api.pipe.TubelineAssemblerFactory.create(TubelineAssemblerFac
    tory.java:78)
    at
    com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.jav
    a:442)
    at
    com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceD
    elegate.java:639)
    at
    com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:342)
    at
    com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:324)
    at
    com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
    at javax.xml.ws.Service.getPort(Service.java:92)
    at
    com.bea.albpm.papiwebservice.PapiWebService_Service.getPapiWebServicePort(Pa
    piWebService_Service.java:56)
    at
    com.company.latam.bpm.connector.albpm10g.BPMClient10g.initialize(BPMClient10g.j
    ava:159)
    at
    com.company.latam.bpm.connector.albpm10g.BPMClient10g.<init>(BPMClient10g.java:
    63)
    at
    com.company.latam.bpm.connector.ConnectorFactory.getInstance(ConnectorFactory.j
    ava:22)
    at
    com.company.latam.bpm.connector.impl.BPMConnectorImpl.bpmAddAbstractRole(BPMCon
    nectorImpl.java:39)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
    MethodInvocationProceedingJoinPoint.java:77
    at
    com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
    java:73)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
    GivenArgs(AbstractAspectJAdvice.java:627)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
    tractAspectJAdvice.java:616)
    at
    org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
    ce.java:64)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
    eInvocationInterceptor.java:89)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy57.bpmAddAbstractRole(Unknown Source)
    at
    com.company.latam.bpm.business.impl.BPMBusinessImpl.sendBPMNotificationAddFunct
    ion(BPMBusinessImpl.java:595)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
    MethodInvocationProceedingJoinPoint.java:77
    at
    com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
    java:73)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
    GivenArgs(AbstractAspectJAdvice.java:627)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
    tractAspectJAdvice.java:616)
    at
    org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
    ce.java:64)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
    eInvocationInterceptor.java:89)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy58.sendBPMNotificationAddFunction(Unknown Source)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
    ansactionInterceptor.java:106)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
    MethodInvocationProceedingJoinPoint.java:77
    at
    com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
    java:73)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
    GivenArgs(AbstractAspectJAdvice.java:627)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
    tractAspectJAdvice.java:616)
    at
    org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
    ce.java:64)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
    eInvocationInterceptor.java:89)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy59.sendBPMNotificationAddFunction(Unknown Source)
    at
    com.company.latam.sg.external.communicator.business.impl.ExternalCommunicatorBu
    sinessImpl.forwardNotificationAddFunctionAn
    dGroup(ExternalCommunicatorBusinessImpl.java:659)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
    MethodInvocationProceedingJoinPoint.java:77
    at
    com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
    java:73)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
    GivenArgs(AbstractAspectJAdvice.java:627)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
    tractAspectJAdvice.java:616)
    at
    org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
    ce.java:64)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
    eInvocationInterceptor.java:89)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy60.forwardNotificationAddFunctionAndGroup(Unknown Source)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.transaction.interceptor.TransactionInterceptor.invoke(Tr
    ansactionInterceptor.java:106)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
    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:597)
    at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
    tils.java:310)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
    (ReflectiveMethodInvocation.java:182)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:149)
    at
    org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(
    MethodInvocationProceedingJoinPoint.java:77
    at
    com.company.latam.common.aop.LoggingAspect.logMethodsInvocations(LoggingAspect.
    java:73)
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    .java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWith
    GivenArgs(AbstractAspectJAdvice.java:627)
    at
    org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(Abs
    tractAspectJAdvice.java:616)
    at
    org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvi
    ce.java:64)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
    eInvocationInterceptor.java:89)
    at
    org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
    iveMethodInvocation.java:171)
    at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
    xy.java:204)
    at $Proxy61.forwardNotificationAddFunctionAndGroup(Unknown Source)
    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:597)
    at
    org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxy
    Factory.java:416)
    at
    org.apache.wicket.proxy.$Proxy82.forwardNotificationAddFunctionAndGroup(Unkn
    own Source)
    at
    com.citi.company.sg.external.communicator.jobs.AddEnttlementsJob.execute(AddEn
    ttlementsJob.java:16)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    ... 1 more
    Caused by: java.lang.ClassCastException
    at java.lang.Class.cast(Class.java:2990)
    at
    com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
    ... 146 more
    ---------------[END STACKTRACE]-----------------------------

    Hi,
    This happens when the Classes gets Loaded from Different classLoaders and Create Conflicts...If you are using any EAR file then Please First of all...Place all the JAR files inside the "*<EAR_NAME>/APP-INF/lib*" directory and then Provide the "*weblogic-application.xml*" file inside the "*<EAR_NAME>/META-INF*"
    And Please add the Following Tags inside your "*weblogic-application.xml*" ...
    *<prefer-application-packages>*
    <package-name>com.ctc.*</package-name>
    <package-name>com.sun.xml.*</package-name>
    <package-name>com.sun.istack.*</package-name>
    <package-name>com.sun.msv.datatype.*</package-name>
    <package-name>com.sun.msv.driver.*</package-name>
    <package-name>com.sun.msv.grammar.*</package-name>
    <package-name>com.sun.msv.reader.*</package-name>
    <package-name>com.sun.msv.relaxns.*</package-name>
    <package-name>com.sun.msv.scanner.*</package-name>
    <package-name>com.sun.msv.util.*</package-name>
    <package-name>com.sun.msv.verifier.*</package-name>
    <package-name>com.sun.msv.writer.*</package-name>
    <package-name>com.sun.org.apache.xml.internal.*</package-name>
    <package-name>com.sun.wsit.*</package-name>
    <package-name>javax.jws.*</package-name>     
    <package-name>javax.xml.bind.*</package-name>
    <package-name>javax.xml.soap.*</package-name>
    <package-name>javax.xml.stream.*</package-name>
    <package-name>javax.xml.ws.*</package-name>
    <package-name>javax.xml.activation.*</package-name>
    <package-name>javax.xml.annotation.*</package-name>
    <package-name>javax.xml.mail.*</package-name>
    <package-name>javax.xml.security.*</package-name>
    <package-name>javax.xml.registry.*</package-name>
    <package-name>javax.xml.rpc.*</package-name>
    <package-name>javax.xml.crypto.*</package-name>
    <package-name>javanet.staxutils.*</package-name>
    <package-name>jp.gr.xml.*</package-name>
    <package-name>org.codehaus.stax2.*</package-name>
    <package-name>org.glassfish.gmbal.*</package-name>
    <package-name>org.iso_relax.*</package-name>
    <package-name>org.jcp.xml.dsig.*</package-name>
    <package-name>org.jvnet.*</package-name>
    <package-name>org.relaxng.*</package-name>
    *</prefer-application-packages>*
    All the Above Packages are related to WebServices .... And needs to be loaded from one ClassLoader only....to avoid conflicts.
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Calling a webservice from weblogic EJB Application

    Hello,
    I have a webservice running on IIS server. I created a simple java client program to call the webservice and it works fine. However, when I wrapped the same java client program as a EJB Application, I am unable to call the webservice.
    I get the following error:
    ####<Apr 3, 2007 1:59:30 AM CDT> <Info> <WebService> <CASEJBServer> <ExecuteThread: '24' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-220094> <An IOException was thrown trying to access the WSDL at the given URL.>
    And
    "java.io.FileNotFoundException: Response: '401: Unauthorized' for url: XXXXXX"
    Could you please give some simple steps as what are the JAR Files required to be included in the Weblogic Server's classpath to call the webservice.
    Thanks.

    To start off you need to make sure that your client api is in the classpath, either in your ejb or your ear or the server classpath.
    The other concern I would have is that it seems you are just not authorized to access the URL.
    - Does the WSDL require credentials? So in other words when you go to the URL are you allowed to access the WSDL without athenticating.
    - How does your Impl get created?
    MyServiceImpl service = new MyServiceImpl()
    If you are using the empty constructor then what is the wsdl endpoint in your jar file since that is the wsdl it will use. If the endpoint is localhost/xxx/xxx then you will have issues since that means your not deployed on localhost. What url is at the endpoint? Do you have access to the url from your server?
    If you are using "new MyServiceImpl(url);" then again is the wsdl locked down because in this case you will need to do somthing like http://username:[email protected]/xxx?wsdl
    Hope this helps.
    -Jesus

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • Is able to run two webservices in Weblogic 7.0 trial version ?

    Hi all:
    I caught a webservice problem in weblogic7.0 (trial version).
    I have built an Session Bean example (examples\webservices\complex\statelessSession)
    in Weblogic 7.0 Examples Service, it works as expected.
    However, when I create another session bean following the above example with different
    Service Name and JNDI Name, the new session bean cannot work as expected(No WSDL
    URL is found).
    Is able to run two webservices in Weblogic 7.0 trial version?
    How can I run two and more webservices in Weblogic 7.0 trial version?
    If anyone know how to solve it, please reply me as soon as possible.

    Hi Kelvin,
    Could you check your server log file for any errors. If there are errors, would you post them here. It sounds like the second webservice is simply not being
    deployed for some reason.
    In the application.xml, make sure you have given each webservice a different <context-root>
    As a suggestion, make the <display-name> and the <context-root> the same, for example using: "TreeClock" then you should be able to find the webservice:
    http://<host>:<port>/TreeClock/TreeClock
    Bruce
    Kelvin wrote:
    Bruce:
    Thanks your help !!! Sorry to confuse you as we are actually using the GA version
    (download form BWA for evaluation).
    The problem is like this, when we developed two web service and deploy both.
    Only one of them can show up by quene the ?wsdl.
    Any additional info that we can provide ???
    Many thanks !!!
    Regards
    Kelvin
    Bruce Stephens <[email protected]> wrote:
    Hi Kelvin,
    By "trial version" if you mean the WLS 7.0 Beta program, thanks for giving
    this a spin
    however the final version of WLS 7.0 was Generally Available as of 4/30/02
    and the Beta
    program closed.
    We have an example that illustrates how to build a client that invokes two
    webservices.
    You can get a copy from the dev2dev center:
    http://dev2dev.bea.com/managed_content/direct/webservice/simple2.zip
    Hope this helps,
    Bruce
    Kelvin wrote:
    Hi all:
    I caught a webservice problem in weblogic7.0 (trial version).
    I have built an Session Bean example (examples\webservices\complex\statelessSession)
    in Weblogic 7.0 Examples Service, it works as expected.
    However, when I create another session bean following the above examplewith different
    Service Name and JNDI Name, the new session bean cannot work as expected(NoWSDL
    URL is found).
    Is able to run two webservices in Weblogic 7.0 trial version?
    How can I run two and more webservices in Weblogic 7.0 trial version?
    If anyone know how to solve it, please reply me as soon as possible.<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    Hi Kelvin,
    <p>By "trial version" if you mean the WLS 7.0 Beta program, thanks for
    giving this a spin however the final version of WLS 7.0 was Generally Available
    as of 4/30/02 and the Beta program closed.
    <p>We have an example that illustrates how to build a client that invokes
    two webservices. You can get a copy from the dev2dev
    center:
    <p>http://dev2dev.bea.com/managed_content/direct/webservice/simple2.zip
    <br>
    <p>Hope this helps,
    <br>Bruce
    <br>
    <p>Kelvin wrote:
    <blockquote TYPE=CITE>Hi all:
    <p>I caught a webservice problem in weblogic7.0 (trial version).
    <p>I have built an Session Bean example (examples\webservices\complex\statelessSession)
    <br>in Weblogic 7.0 Examples Service, it works as expected.
    <br>However, when I create another session bean following the above example
    with different
    <br>Service Name and JNDI Name, the new session bean cannot work as expected(No
    WSDL
    <br>URL is found).
    <p>Is able to run two webservices in Weblogic 7.0 trial version?
    <br>How can I run two and more webservices in Weblogic 7.0 trial
    version?
    <p>If anyone know how to solve it, please reply me as soon as possible.</blockquote>
    </html>

  • How to migrate .war archived webservice to WebLogic 10.0.3

    Hi everyone.
    I have been requested to deploy a War file as Webservice on Weblogic Server 10.0.3 (installed on Redhat EL 5.0, I used Sun jdk 1.0.6 distributed along with installer bin file). This file
    was run well on TOMCAT 5.0.28 server.When hacking into this WAR file I know it use Xfire(1.2.2) as a base to construct Webservice, hibernate(3.0) to mapping with database (it use only a
    services.xml putting on META_INF to describe service as far as I know). Firstly, I use Adminstration Console, go to deployment link and deploy as this tool say, the result in Adminstration
    Console tell me I had deployed succedfully but when I digged into exploded directory of WAR file, I can not see any .class file under WEB_INF directory and my client actually can not access provided services. I thought there is problem when use Application Console to deploy so I switch to use other tool like wlst or ant task but result is the same. Finally, I had to upload WAR file, use jar to extract WAR file to a directory and use Adminstration Console to deploy the whole directory as a Web Application. All class file are under WEB_INF directory. But when I use a client to access services I got exception as below on WebBrowser
    Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: Fault: java.lang.NullPointerException
    and no more detail (or I do not known where to get log file). Because I am just a system maintainer and do not know much a bout J2EE Webservice specification, I just read some materials
    and know that WebLogic support Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC). So I desire to know some thing below:
    1) What kind of Webservice in WAR file do I have (Web Services 2.1 (JAX-WS) and XML-Based RPC 1.1 (JAX-RPC) or something WebLogic do not support?
    2) How to migrate my WAR file to Weblogic by a very common way?
    3) How to get log to make more detail about exception above on WebLogic (does log4j archive this work?) ?
    Thank you so much
    Edited by: user10407314 on Oct 30, 2008 1:41 AM

    Hi all,
    May be I found the problem. The compatibility between Weblogic and hibernate 3.0 relating to antlr-2.7.5H3.jar library. Although I include all application's jar file in CLASSPATH when start server
    but Weblogic seem not to see my antlr-2.7.5H3.jar and use its default antlr library instead. So I set my antlr-2.7.5H3.jar directly into PRE_CLASSPATH variable on $DOMAIN_HOME/lib/setDomainEnv.sh
    file like below:
    PRE_CLASSPATH="$DOMAIN_HOME/lib/antlr-2.7.5H3.jar"
    export PRE_CLASSPATH
    By now my application use the desired lib and Webservice work fine.
    But I wonder if this is a good solution, is there any other good practice to set CLASSPATH for this situation? setting PRE_CLASSPATH is correct point and having no affection to the whole domain
    in the case there are more application reside in the domain?
    Thank all.
    Edited by: user10407314 on Oct 30, 2008 9:56 PM
    Edited by: user10407314 on Oct 30, 2008 9:57 PM

  • JAX-WS Webservices and WSServlet

    Hi,
    I am new to Webservices and started using JAX-WS services in Netbeans 6.8. In some tutorials I have seen that we need to configure the com.sun.xml.ws.transport.http.servlet.WSServlet class in web.xml for the webservice to respond the the particular URL. But in Netbeans6.8 I checked the web.xml but donot find any such thing but still the webservice is running perfectly.
    Can anyone please explain if anything of the sort is required and if not,why is such thing mentioned in some of the tutorials? Also is services.xml or webservices.xml is required if we develop webservices in JAX-WS?
    Thanks

    Another question Kalyan,
    We also have experienced problems providing a mechanism for API for Web Service clients to set keystore per service for two-way SSL implementation, implementing SSL with certificate for each connection.
    We want to create a SSL conection with different keystore in each SSL connection.
    Do you know how can do this task?
    I've seen in http://docs.oracle.com/cd/E13222_01/wls/docs92/issues/known_resolved.html#wp1180999 Oracle WebLogic can do the following to solve it:
    WlsSSLAdapter adapter = new WlsSSLAdapter();
    adapter.setKeystore("./DemoIdentity.jks",
    *"DemoIdentityKeyStorePassPhrase".toCharArray(), "JKS" );*
    adapter.setClientCert("DemoIdentity","DemoIdentityPassPhrase".toCharArray());
    *adapter.setTrustManager( new TrustManager(){*
    public boolean certificateCallback(X509Certificate[] chain, int
    *validateErr){*
    return true;
    *}); weblogic.wsee.connection.transport.https.HttpsTransportInfo info = new*
    weblogic.wsee.connection.transport.https.HttpsTransportInfo(adapter);
    *SimpleImplService service = new SimpleImplService_Impl(args[0] +*
    *"?WSDL",info);*
    Simple port = service.getSimpleSoapPort();
    Stub stub = (Stub)port;
    stub._setProperty('weblogic.wsee.client.ssladapter', adapter);
    Are you agree with that lines?

  • How to secure webservice in weblogic server?

    Hi,
    How many ways to secure a webservice in weblogic server? and what is the purpose of SSL ?

    How to run JSP and EJB program using weblogic server

  • Error in  holder-of-key  : calling a secure webservice from weblogic instan

    Hi,
    I am getting following error . Can somebody decrypt this for me ?
    ava.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Failed to add Signature.] FaultActor [null]No Detail; nested exception is:
         weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to add Signature.
         at services.SSOTestHelloWorld_Stub.hello(Unknown Source)
         at deloitte.iit.webservices.CallWebService.callService(CallWebService.java:31)
         at jsp_servlet.__clienttest._jspService(__clienttest.java:82)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Failed to add Signature.
         at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:355)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:115)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:100)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:88)
         at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
         at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
         at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:337)
         ... 18 more
    Caused by: weblogic.xml.crypto.wss.WSSecurityException: Failed to add Signature.
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processIntegrity(SecurityPolicyDriver.java:240)
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:74)
         at weblogic.wsee.security.WssClientHandler.processOutbound(WssClientHandler.java:71)
         at weblogic.wsee.security.WssClientHandler.processRequest(WssClientHandler.java:55)
         at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:107)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:132)
         ... 20 more

    Hi Stephen,
    Using a registry, for example UDDI [1], would be one solution. WLS has
    a complete UDDI implementation builtin [2] for this purpose.
    You are correct, you need to pass the service address location found in
    the <service> section of the WSDL.
    Hope this helps,
    Bruce
    [1]
    http://www.uddi.org/
    [2]
    http://e-docs.bea.com/wls/docs81/webserv/uddi.html
    Stephen Kurlow wrote:
    >
    I am not sure what I need to do to be able to call a remote webservice (runs on
    another weblogic server instance running on another machine in the same network)
    from within a webservice. I have 2 wsdl files and I have created webservice controls
    from them. I have successfully written code in the first webservice to instantiate
    the parms to the 2nd webservice and invoked the 2nd webservice when both webservices
    are deployed to the same weblogic server instance. So i can see the params being
    marshalled and unmarshalled in the test browser.
    Now how do I install the 2nd webservice on another weblogic server instance and
    instruct the 1st web service to call the 2nd webservice residing on another weblogic
    server instance? I presume some kind of lookup (url?) is needed and is it via
    what is contained in the wsdl file?
    Thanks in advance,
    Stephen Kurlow

  • What's up with Webservices and BPM integration?

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

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

  • Ear deploy failure with webservice in weblogic 9.2 build from weblogic 8.1

    I get the below exception when I try to deploy the ear file that contains the webservice modules in weblogic 9.2. The ear was working fine in weblogic 8.1 which is build from this version. As part of migrating to the 9.2 I tried to deploy the ear that is build from 8.1. I am struct at this point. Pls help.
    ####<17-Dec-2008 21:03:35 o'clock GMT> <Error> <Deployer> <LDNCTIWA046436> <BatchServer> <[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1229547815831> <BEA-149205> <Failed to initialize the application 'exwebservices' due to error java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean.
    java.lang.NoClassDefFoundError: com/bea/wlw/runtime/core/bean/SLSBContainerBean
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:355)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:294)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
         at weblogic.ejb.container.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.java:1415)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    Thanks David and weblogicRocks..
    David,
    I have installed the workshop also during installation. Actually I have searched for the class which is missing from the weblogic 9.2 installation folder. The missing class is is in different package path in weblogic 9.2 (knex81.jar) as shown below. Also, this class is generated by workshop while building in 8.1. So, I think I have to rebuild the work file in 9.2 to avoid referring to this class.
    Missing Class location (weblogic 8.1) (knex.jar): com/bea/wlw/runtime/core/bean/SLSBContainerBean
    Missing Class location (weblogic 9.2) (knex81.jar): com/bea/wlw/knex/runtime/core/bean/SLSBContainerBean
    weblogicRocks,
    I saw in the weblogic site that the webservices built from 8.1 will still work in 9.2 with out the need for changing the code. Pls, let me know whether I need to rebuild them on 9.2. If yes, I have used .jws files(sample class definition below) for my webservices and I came to know that in 9.2 new jws annotations are added, do I need to change my source code to add any new annotations so as to work in 9.2? Also, I have used wlwBuildTask using Ant to build the code in 8.1 and this task is not available in 9.2. Let me know what all I need to change for webservices created from workshop to migrate to 9.2. I am really struggling in resolving the issues as it is very urgent for me. Appreciate you quick response.
    Below is my .jws webserice class definition.
    public class MyWebService implements com.bea.jws.WebService
    private String reqImpl;
    * @common:operation
    * @jws:conversation phase="none"
    public String submitRequest(String var)
    <Method Logic>
    }

  • How to Integrating Microsoft MapPoint Webservice with Weblogic Workshop 9.2

    I have to integrate the MapPoint Webservice with Weblogic Workshop 9.2. But while analyzing the WSDL i m getting the error.
    The error which I m getting is :
    An error was encountered while analyzing the WSDL:null jName
    Detail:
    com.bea.wlw.controls.service.ui.except.TypesAnalysisFailedException: java.lang.IllegalArgumentException: null jName at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.<init>(SelectSCInfoPage.java:127)
    at com.bea.wlw.controls.service.ui.GenerateSCWizard.getPageList(GenerateSCWizard.java:150)
    at com.bea.wlw.controls.service.ui.GenerateSCWizard.addPages(GenerateSCWizard.java:136)
    at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:499)
    at org.eclipse.jface.window.Window.create(Window.java:418)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
    at org.eclipse.jface.window.Window.open(Window.java:776)
    at com.bea.wlw.controls.service.ui.actions.NewSCGenAction.run(NewSCGenAction.java:101)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    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 org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)
    Caused by: java.lang.IllegalArgumentException: null jName at com.bea.staxb.buildtime.internal.bts.BindingTypeName.<init>(BindingTypeName.java:51)
    at com.bea.staxb.buildtime.internal.bts.BindingTypeName.forPair(BindingTypeName.java:40)
    at com.bea.staxb.buildtime.Schema2Java.createBindingType(Schema2Java.java:766)
    at com.bea.staxb.buildtime.Schema2Java.bind(Schema2Java.java:363)
    at com.bea.staxb.buildtime.Schema2Java.internalBind(Schema2Java.java:301)
    at com.bea.staxb.buildtime.BindingCompiler.bind(BindingCompiler.java:125)
    at weblogic.wsee.bind.buildtime.internal.XmlBeansBaseBindingsBuilderImpl.createBuildtimeBindings(XmlBeansBaseBindingsBuilderImpl.java:159)
    at weblogic.wsee.tools.source.EndpointBuilder.setupBindingProviderWithServices(EndpointBuilder.java:836)
    at weblogic.wsee.tools.clientgen.ClientGenUtil.createBindingProvider(ClientGenUtil.java:458)
    at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:211)
    at weblogic.wsee.tools.clientgen.ClientGenUtil.createBuildtimeBindings(ClientGenUtil.java:174)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadBuildtimeBindings(BindingsClassNameReference.java:228)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getBindings(BindingsClassNameReference.java:161)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadJsService(BindingsClassNameReference.java:307)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getJsService(BindingsClassNameReference.java:362)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.loadTypeNamesForService(BindingsClassNameReference.java:398)
    at com.bea.control.servicecontrol.internal.validation.BindingsClassNameReference.getTypeNamesForService(BindingsClassNameReference.java:383)
    at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeNamesForService(BindingsCheckUtility.java:210)
    at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingTypeInfoForService(BindingsCheckUtility.java:131)
    at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.getComplexTypeBindingInfoForServiceByBindingsDataSourceType(BindingsCheckUtility.java:104)
    at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.initializeTypesForTheService(BindingsCheckUtility.java:253)
    at com.bea.control.servicecontrol.internal.validation.BindingsCheckUtility.findMatchingBindingsDataSources(BindingsCheckUtility.java:434)
    at com.bea.wlw.controls.service.ui.util.BindingsChecker.<init>(BindingsChecker.java:55)
    at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.checkForCompatibleBindings(SelectSCInfoPage.java:304)
    at com.bea.wlw.controls.service.ui.wizards.SelectSCInfoPage.<init>(SelectSCInfoPage.java:98)
    ... 31 more

    Plz find the WSDL file's text below :
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://s.mappoint.net/mappoint-30/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://s.mappoint.net/mappoint-30/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://s.mappoint.net/mappoint-30/">
    <s:element name="GetVersionInfo">
    <s:complexType />
    </s:element>
    <s:element name="GetVersionInfoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetVersionInfoResult" type="tns:ArrayOfVersionInfo" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfVersionInfo">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="VersionInfo" nillable="true" type="tns:VersionInfo" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="VersionInfo">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Component" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="CustomerInfoHeader" type="tns:CustomerInfoHeader" />
    <s:complexType name="CustomerInfoHeader">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="CustomLogEntry" type="s:short" />
    </s:sequence>
    </s:complexType>
    <s:element name="UserInfoHeader" type="tns:UserInfoHeader" />
    <s:complexType name="UserInfoHeader">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Culture" type="tns:CultureInfo" />
    <s:element minOccurs="1" maxOccurs="1" name="DefaultDistanceUnit" type="tns:DistanceUnit" />
    <s:element minOccurs="0" maxOccurs="1" name="Context" type="tns:CountryRegionContext" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="CultureInfo">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="Lcid" type="s:int" />
    </s:sequence>
    </s:complexType>
    <s:simpleType name="DistanceUnit">
    <s:restriction base="s:string">
    <s:enumeration value="Kilometer" />
    <s:enumeration value="Mile" />
    </s:restriction>
    </s:simpleType>
    <s:complexType name="CountryRegionContext">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="0" name="EntityID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="Iso2" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetCountryRegionInfo">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="entityIDs" type="tns:ArrayOfInt" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfInt">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetCountryRegionInfoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetCountryRegionInfoResult" type="tns:ArrayOfCountryRegionInfo" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfCountryRegionInfo">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="CountryRegionInfo" nillable="true" type="tns:CountryRegionInfo" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="CountryRegionInfo">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="EntityID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="LatLong" type="tns:LatLong" />
    <s:element minOccurs="0" maxOccurs="1" name="Iso2" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Iso3" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="FriendlyName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="OfficialName" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="LatLong">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="0" name="Latitude" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0" name="Longitude" type="s:double" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetEntityTypes">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="dataSourceName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetEntityTypesResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetEntityTypesResult" type="tns:ArrayOfEntityType" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfEntityType">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="EntityType" nillable="true" type="tns:EntityType" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="EntityType">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="DisplayName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="ParentName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Definition" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Properties" type="tns:ArrayOfEntityProperty" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfEntityProperty">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="Property" nillable="true" type="tns:EntityProperty" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="EntityProperty">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="DisplayName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="DataType" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetDataSourceInfo">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="dataSourceNames" type="tns:ArrayOfString" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfString">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetDataSourceInfoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetDataSourceInfoResult" type="tns:ArrayOfDataSource" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfDataSource">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="DataSource" nillable="true" type="tns:DataSource" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="DataSource">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="Capability" type="tns:DataSourceCapability" />
    <s:element minOccurs="0" maxOccurs="1" name="EntityExtent" type="tns:ArrayOfInt" />
    </s:sequence>
    </s:complexType>
    <s:simpleType name="DataSourceCapability">
    <s:list>
    <s:simpleType>
    <s:restriction base="s:string">
    <s:enumeration value="CanDrawMaps" />
    <s:enumeration value="CanFindPlaces" />
    <s:enumeration value="CanFindNearby" />
    <s:enumeration value="CanRoute" />
    <s:enumeration value="CanFindAddress" />
    <s:enumeration value="HasIcons" />
    <s:enumeration value="DataServiceQuery" />
    </s:restriction>
    </s:simpleType>
    </s:list>
    </s:simpleType>
    <s:element name="GetGreatCircleDistances">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="latLongs" type="tns:ArrayOfLatLong" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfLatLong">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="LatLong" nillable="true" type="tns:LatLong" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetGreatCircleDistancesResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetGreatCircleDistancesResult" type="tns:ArrayOfDouble" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="ArrayOfDouble">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="double" type="s:double" />
    </s:sequence>
    </s:complexType>
    <s:element name="Find">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindSpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindSpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="InputPlace" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="EntityTypeNames" type="tns:ArrayOfString" />
    <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:FindOptions" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="FindOptions">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Range" type="tns:FindRange" />
    <s:element minOccurs="1" maxOccurs="1" name="SearchContext" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="ResultMask" type="tns:FindResultMask" />
    <s:element minOccurs="0" maxOccurs="1" default="0.85" name="ThresholdScore" type="s:double" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="FindRange">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="0" name="StartIndex" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" default="25" name="Count" type="s:int" />
    </s:sequence>
    </s:complexType>
    <s:simpleType name="FindResultMask">
    <s:list>
    <s:simpleType>
    <s:restriction base="s:string">
    <s:enumeration value="LatLongFlag" />
    <s:enumeration value="EntityFlag" />
    <s:enumeration value="AddressFlag" />
    <s:enumeration value="BestMapViewFlag" />
    <s:enumeration value="MatchDetailsFlag" />
    </s:restriction>
    </s:simpleType>
    </s:list>
    </s:simpleType>
    <s:element name="FindResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="FindResult" type="tns:FindResults" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindResults">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="NumberFound" type="s:int" />
    <s:element minOccurs="1" maxOccurs="1" name="StartIndex" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="Results" type="tns:ArrayOfFindResult" />
    <s:element minOccurs="1" maxOccurs="1" name="TopScore" type="s:double" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfFindResult">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="FindResult" nillable="true" type="tns:FindResult" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="FindResult">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="Score" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" name="FoundLocation" type="tns:Location" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="Location">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="LatLong" type="tns:LatLong" />
    <s:element minOccurs="0" maxOccurs="1" name="Entity" type="tns:Entity" />
    <s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:Address" />
    <s:element minOccurs="0" maxOccurs="1" name="BestMapView" type="tns:MapViewRepresentations" />
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="Entity">
    <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="DisplayName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="TypeName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Properties" type="tns:ArrayOfEntityPropertyValue" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfEntityPropertyValue">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="Property" nillable="true" type="tns:EntityPropertyValue" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="EntityPropertyValue">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Value" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="Address">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="AddressLine" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="PrimaryCity" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="SecondaryCity" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Subdivision" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="CountryRegion" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="FormattedAddress" type="s:string" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="MapViewRepresentations">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ByScale" type="tns:ViewByScale" />
    <s:element minOccurs="0" maxOccurs="1" name="ByHeightWidth" type="tns:ViewByHeightWidth" />
    <s:element minOccurs="0" maxOccurs="1" name="ByBoundingRectangle" type="tns:ViewByBoundingRectangle" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ViewByScale">
    <s:complexContent mixed="false">
    <s:extension base="tns:MapView">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="0" name="MapScale" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" name="CenterPoint" type="tns:LatLong" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="MapView" abstract="true" />
    <s:complexType name="ViewByBoundingLocations">
    <s:complexContent mixed="false">
    <s:extension base="tns:MapView">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Locations" type="tns:ArrayOfLocation" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="ArrayOfLocation">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="Location" nillable="true" type="tns:Location" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ViewByHeightWidth">
    <s:complexContent mixed="false">
    <s:extension base="tns:MapView">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="0" name="Height" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0" name="Width" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" name="CenterPoint" type="tns:LatLong" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="ViewByBoundingRectangle">
    <s:complexContent mixed="false">
    <s:extension base="tns:MapView">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="BoundingRectangle" type="tns:LatLongRectangle" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="LatLongRectangle">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Southwest" type="tns:LatLong" />
    <s:element minOccurs="0" maxOccurs="1" name="Northeast" type="tns:LatLong" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="MapPointConstants">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="6378.2" name="EarthRadiusInKilometers" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="3.1415926535897931" name="Pi" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0.017453292519943295" name="RadiansPerDegree" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="57.295779513082323" name="DegreesPerRadian" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0.621371192237334" name="MilesPerKilometer" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="1.609344" name="KilometersPerMile" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0.0003048" name="KilometersPerFoot" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="3280.8398950131232" name="FeetPerKilometer" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0.85" name="FindScoreThreshold" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="96" name="AssumedDpi" type="s:int" />
    <s:element minOccurs="0" maxOccurs="1" default="3.280839895013123" name="FeetPerMeter" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" default="0.3048" name="MetersPerFoot" type="s:double" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="SpatialFilter" abstract="true" />
    <s:complexType name="LatLongSpatialFilter">
    <s:complexContent mixed="false">
    <s:extension base="tns:SpatialFilter">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="LatLong" type="tns:LatLong" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="LatLongRectangleSpatialFilter">
    <s:complexContent mixed="false">
    <s:extension base="tns:SpatialFilter">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="BoundingRectangle" type="tns:LatLongRectangle" />
    <s:element minOccurs="1" maxOccurs="1" name="PolygonRectangleRelation" type="tns:SpatialRelation" />
    </s:sequence>
    </s:extension>
    </s:complexContent>
    </s:complexType>
    <s:simpleType name="SpatialRelation">
    <s:restriction base="s:string">
    <s:enumeration value="WithinArea" />
    <s:enumeration value="TouchesArea" />
    </s:restriction>
    </s:simpleType>
    <s:element name="CustomerInfoFindHeader" type="tns:CustomerInfoFindHeader" />
    <s:complexType name="CustomerInfoFindHeader">
    <s:complexContent mixed="false">
    <s:extension base="tns:CustomerInfoHeader" />
    </s:complexContent>
    </s:complexType>
    <s:element name="UserInfoFindHeader" type="tns:UserInfoFindHeader" />
    <s:complexType name="UserInfoFindHeader">
    <s:complexContent mixed="false">
    <s:extension base="tns:UserInfoHeader" />
    </s:complexContent>
    </s:complexType>
    <s:element name="FindAddress">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindAddressSpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindAddressSpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="InputAddress" type="tns:Address" />
    <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:FindOptions" />
    </s:sequence>
    </s:complexType>
    <s:element name="FindAddressResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="FindAddressResult" type="tns:FindResults" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ParseAddress">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="inputAddress" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="countryRegion" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="ParseAddressResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="ParseAddressResult" type="tns:Address" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="GetLocationInfo">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="location" type="tns:LatLong" />
    <s:element minOccurs="0" maxOccurs="1" name="dataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="options" type="tns:GetInfoOptions" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="GetInfoOptions">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" default="true" name="IncludeAddresses" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" default="true" name="IncludeAllEntityTypes" type="s:boolean" />
    <s:element minOccurs="0" maxOccurs="1" name="EntityTypesToReturn" type="tns:ArrayOfString" />
    </s:sequence>
    </s:complexType>
    <s:element name="GetLocationInfoResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetLocationInfoResult" type="tns:ArrayOfLocation" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="FindNearby">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindNearbySpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindNearbySpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="LatLong" type="tns:LatLong" />
    <s:element minOccurs="1" maxOccurs="1" name="Distance" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" name="Filter" type="tns:FindFilter" />
    <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:FindOptions" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="FindFilter">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="EntityTypeName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="PropertyNames" type="tns:ArrayOfString" />
    <s:element minOccurs="0" maxOccurs="1" name="WhereClause" type="tns:WhereClause" />
    <s:element minOccurs="0" maxOccurs="1" name="SortProperties" type="tns:ArrayOfSortProperty" />
    <s:element minOccurs="0" maxOccurs="1" name="Expression" type="tns:FilterExpression" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="WhereClause">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="SearchProperties" type="tns:ArrayOfEntityPropertyValue" />
    <s:element minOccurs="1" maxOccurs="1" name="SearchOperator" type="tns:SearchOperatorFlag" />
    </s:sequence>
    </s:complexType>
    <s:simpleType name="SearchOperatorFlag">
    <s:restriction base="s:string">
    <s:enumeration value="And" />
    <s:enumeration value="Or" />
    </s:restriction>
    </s:simpleType>
    <s:complexType name="ArrayOfSortProperty">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="SortProperty" nillable="true" type="tns:SortProperty" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="SortProperty">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="PropertyName" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="Direction" type="tns:SortDirection" />
    </s:sequence>
    </s:complexType>
    <s:simpleType name="SortDirection">
    <s:restriction base="s:string">
    <s:enumeration value="Ascending" />
    <s:enumeration value="Descending" />
    </s:restriction>
    </s:simpleType>
    <s:complexType name="FilterExpression">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="Text" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Parameters" type="tns:ArrayOfAnyType" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfAnyType">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded" name="anyType" nillable="true" />
    </s:sequence>
    </s:complexType>
    <s:element name="FindNearbyResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="FindNearbyResult" type="tns:FindResults" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="FindByProperty">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindByPropertySpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindByPropertySpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Filter" type="tns:FindFilter" />
    <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:FindOptions" />
    </s:sequence>
    </s:complexType>
    <s:element name="FindByPropertyResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="FindByPropertyResult" type="tns:FindResults" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="FindByID">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindByIDSpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindByIDSpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="Filter" type="tns:FindFilter" />
    <s:element minOccurs="0" maxOccurs="1" name="Options" type="tns:FindOptions" />
    <s:element minOccurs="0" maxOccurs="1" name="EntityIDs" type="tns:ArrayOfInt" />
    </s:sequence>
    </s:complexType>
    <s:element name="FindByIDResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="FindByIDResult" type="tns:FindResults" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="FindNearRoute">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="specification" type="tns:FindNearRouteSpecification" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="FindNearRouteSpecification">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="DataSourceName" type="s:string" />
    <s:element minOccurs="1" maxOccurs="1" name="Distance" type="s:double" />
    <s:element minOccurs="0" maxOccurs="1" name="Filter" type="tns:FindFilter" />
    <s:element minOcc

Maybe you are looking for

  • Query for Sales Order Analysis

    Dear Experts I have written a Query for Sales Order Analysis and would like to have help on this. The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales O

  • How to get webgallery items to look as good as photo album items?

    I like the look of photo albums, but I want my web gallery items to look as good. I tried placing a web gallery into a photo album drop zone...didn't work. Is there a way to get a web gallery item to look different than the default? I couldn't even d

  • Change position of print output format item

    I have a tabular form that has the report printing feature enabled. It display the 'Print' link on the bottom of the form. I created an item to let the user user choose the report output. How can I get the item to display next to the 'print' link?

  • Serializing PageFormat

    I would like my application to remember the page format selected in the PageDialog and use that setting as the default next time the application is executed. Sounds easy...but PageFormat is not serializable. Ok I could extract page size and image off

  • Ignore certain callers automatically

    Does anyone now if it's possible to set up a ring profile so if certain contacts call then the phone will ring, but if anyone else calls the phone will send the caller to directly to voicemail? I've had a few phones with this capability and it's quit