Weblogic 8.1+ webservice in a diferent queue.

HI,
It's possible to customize a queue for a especific webservice?
For Example:
Webservice A will use the queue X and Webservice B will use queue Y.
Thanks in advance.
Erick

You should probably post to the weblogic.developer.interest.workshop, but
something is going wrong in your ear build. The .workshop stuff are
generated J2EE modules and all of that stuff should be there. You look
insidet he ear and you dont see these refrerences files?
Cheers
mbg
"Karthi" <[email protected]> wrote in message
news:[email protected]..
Hi all,
We created a simple application with simple web project created using
Workshop.
Simple means no changes has been made to ones created by workshop.
Build successful
Build Ear
When we deploy this application to a managed server, we get this error
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: [J2EE:160079]There isno
module defined with the uri .workshop/testappWeb/EJB/ProjectBeans which is
used in the classloader-structure declaration in weblogic-application.xml
for testapp.
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(
SlaveDeployer.java:2588
at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDep
loyer.java:2506
at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeplo
yer.java:833
at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.ja
va:542
at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.j
ava:500
at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.ja
va:25
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170
Any ideas?
Karthi.

Similar Messages

  • Compare weblogic SM and webservice SM in OES

    Can you please tell me which one is the better one between the weblogic SM and webservices SM in OES.
    If you have any link which will explains the difference please let me know

    I presume you're talking about OES 11g. WebService SM has some limitations. I would advise to go with WebLogic SM and deploy webservice application in WebLogic Server and play with it.
    HTH.
    -Mahendra.

  • 503 error code when trying to access a weblogic jax-rpc webservice

    I'm going crazy on a webservice issue with Weblogic server 10.2.
    I have a DocumentRepository webservice deployed and I generated a JAX-RPC library based on its WSDL.
    Now I'm trying to access this webservice from Spring in a desktop application with the following bean declaration:
    <bean id="documentRepository" class="eu.europa.ec.rdg.efp.services.document.v1_00.DocumentRepository_Impl">
         <constructor-arg value="http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL" />
    </bean>
    But when the Spring application context initializes, after a few minutes, I get the following exception:
    javax.xml.rpc.ServiceException: Failed to parse WSDL http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Server returned HTTP response code: 503 for URL: http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL
    +     at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)+
    +     at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:485)+
    +     at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)+
    +     at eu.europa.ec.rdg.efp.services.document.v1_00.DocumentRepository_Impl.<init>(Unknown Source)+
    +     at eu.europa.ec.rdg.efp.services.document.v1_00.DocumentRepository_Impl.<init>(Unknown Source)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)+
    +     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)+
    +     ... 35 more+
    Caused by: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- java.io.IOException: Server returned HTTP response code: 503 for URL: http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL
    +     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:313)+
    +     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:403)+
    +     at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:389)+
    +     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)+
    +     at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)+
    +     at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:476)+
    +     ... 43 more+
    Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL
    +     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)+
    +     at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:100)+
    +     at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)+
    +     at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)+
    +     at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)+
    +     ... 48 more+
    Yet, I can see the WSDL in my browser when I go to http://myserver.mycompany.com:7021/efpServices/DocumentRepository?WSDL
    Now it looks a lot like a proxy issue, which is possible because I'm behind a proxy, and I had to set the following command-line parameters in order to access remote HTTP resources before the spring application context is initialized:
    -DproxySet=true -DproxyHost=<my proxy IP> -DproxyPort=8012
    And I authenticate to my proxy using the following code, once again before the Spring application context is initialized:
    Authenticator.setDefault(new Authenticator() {
                                       protected PasswordAuthentication getPasswordAuthentication() {
                                            return new PasswordAuthentication(<my login>, <my password>);
    Yet, those settings seem to have absolutely no effect on how the webservice client is loading the WSDL.
    So my question is the following: is it possible to specify a proxy to be used by the webservice client class to load the WSDL? If yes, how?
    On the other hand, if it was a proxy issue, then I guess the webservice client couldn't reach the server and I would get a connection timeout or something. But here I get a response, even though it's a 503 error. Any other idea where my exception comes from?
    I'm really desperate here. I've tried to ask our corporate weblogic support but they couldn't reproduce my issue. I've been fighting with this for weeks. Please help!

    Please, take a look at https://blogs.oracle.com/proactivesupportWCC/entry/clustering_and_high_availability_for (and contact the support group as advised)

  • Weblogic 8.1 Webservice Client Proxy Authentication not working

    We have a desktop console based Weblogic webservices client application that uses client stubs to establish the connection and communicate with the server where the WSDL was hosted.
    We are facing a problem in authenticating the Proxy user with valid credentials.
    We are using the following code to set the system properties and Authenticator class to authenticate the proxy user.
    //Code Segment #1
    Code:
    System.setProperty("http.proxyHost", proxyHost);System.setProperty("https.proxyHost", proxyHost);
    System.setProperty("weblogic.webservice.transport.http.proxy.host",proxyHost);
    System.setProperty("weblogic.webservice.transport.https.proxy.host",proxyHost);
    System.setProperty("http.proxyPort", proxyPort);
    System.setProperty("https.proxyPort", proxyPort);
    System.setProperty("weblogic.webservice.transport.http.proxy.port",proxyPort);
    System.setProperty("weblogic.webservice.transport.https.proxy.port",proxyPort);
    //System.setProperty("http.proxyType", "basic");
    //System.setProperty("https.proxyType", "basic");
    //System.setProperty("http.proxy.auth.type" ,"ntlm"); //This is not showing any impact
    System.setProperty("http.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("https.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("http.proxyPassword", " xyzddd");
    System.setProperty("https.proxyPassword", "xyzddd");
    Authenticator.setDefault(new MyAuthenticator());
    //Inner class
    public static class MyAuthenticator extends Authenticator {
    protected PasswordAuthentication getPasswordAuthentication() {
    String username = System.getProperty("http.proxyUser");
         String password = System.getProperty("http.proxyPassword");
         return new PasswordAuthentication(username, password.toCharArray());
    We are using following code initialize the stubs (Which internally opens a connection to the given endpoint base URL)
    //Code Segment #2
    Code:
    SessionService_Impl sessionService = new SessionService_Impl(getEndPointURL(SessionServicePort.class));
    port = sessionService.getSessionServicePort();
    return port;
    Using above code it always throws the following exception:
    Code:
    weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL from https://apiclienttest.intralinks.com:443/webservices51/SessionService?WSDL. Please check the URL and make sure that it is a valid XML file [java.io.IOException: Proxy authenticator  failed: java.lang.ClassNotFoundException: ]
    if i replace the above code (Code Segment #2) to as bellow with Code Segment #3 then its working as expected. But we have been told that the Code Segment #2 is required as shwon above for the Weblogic ClientTimeout seconds feature so we cant replace the Code Segment #2 with Code Segment #3 since we don?t want to miss the ClientTimeout seconds feature for the application.
    //Code Segment #3
    Code:
    SessionService_Impl sessionService = new SessionService_Impl();
              SessionServicePort sessionServicePort = sessionService.getSessionServicePort();
              ((SessionServicePort_Stub) sessionServicePort)._setProperty("javax.xml.rpc.service.endpoint.address", endPointBaseURL+"SessionService");
    return sessionServicePort ;
    why the Proxy authentication is failing with the Code Segment #2 and why it is passing in case of Code Segment #3
    The endpoint base URL we are hitting is hosted on Weblogic server 9.0 (which is hosted at client side in US so it is behind our firewall).
    Is some thing more do we need to do in Authenticator class???
    Please help me if any one has worked on proxy server authenticator in java.

    We have a desktop console based Weblogic webservices client application that uses client stubs to establish the connection and communicate with the server where the WSDL was hosted.
    We are facing a problem in authenticating the Proxy user with valid credentials.
    We are using the following code to set the system properties and Authenticator class to authenticate the proxy user.
    //Code Segment #1
    Code:
    System.setProperty("http.proxyHost", proxyHost);System.setProperty("https.proxyHost", proxyHost);
    System.setProperty("weblogic.webservice.transport.http.proxy.host",proxyHost);
    System.setProperty("weblogic.webservice.transport.https.proxy.host",proxyHost);
    System.setProperty("http.proxyPort", proxyPort);
    System.setProperty("https.proxyPort", proxyPort);
    System.setProperty("weblogic.webservice.transport.http.proxy.port",proxyPort);
    System.setProperty("weblogic.webservice.transport.https.proxy.port",proxyPort);
    //System.setProperty("http.proxyType", "basic");
    //System.setProperty("https.proxyType", "basic");
    //System.setProperty("http.proxy.auth.type" ,"ntlm"); //This is not showing any impact
    System.setProperty("http.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("https.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("http.proxyPassword", " xyzddd");
    System.setProperty("https.proxyPassword", "xyzddd");
    Authenticator.setDefault(new MyAuthenticator());
    //Inner class
    public static class MyAuthenticator extends Authenticator {
    protected PasswordAuthentication getPasswordAuthentication() {
    String username = System.getProperty("http.proxyUser");
         String password = System.getProperty("http.proxyPassword");
         return new PasswordAuthentication(username, password.toCharArray());
    We are using following code initialize the stubs (Which internally opens a connection to the given endpoint base URL)
    //Code Segment #2
    Code:
    SessionService_Impl sessionService = new SessionService_Impl(getEndPointURL(SessionServicePort.class));
    port = sessionService.getSessionServicePort();
    return port;
    Using above code it always throws the following exception:
    Code:
    weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL from https://apiclienttest.intralinks.com:443/webservices51/SessionService?WSDL. Please check the URL and make sure that it is a valid XML file [java.io.IOException: Proxy authenticator  failed: java.lang.ClassNotFoundException: ]
    if i replace the above code (Code Segment #2) to as bellow with Code Segment #3 then its working as expected. But we have been told that the Code Segment #2 is required as shwon above for the Weblogic ClientTimeout seconds feature so we cant replace the Code Segment #2 with Code Segment #3 since we don?t want to miss the ClientTimeout seconds feature for the application.
    //Code Segment #3
    Code:
    SessionService_Impl sessionService = new SessionService_Impl();
              SessionServicePort sessionServicePort = sessionService.getSessionServicePort();
              ((SessionServicePort_Stub) sessionServicePort)._setProperty("javax.xml.rpc.service.endpoint.address", endPointBaseURL+"SessionService");
    return sessionServicePort ;
    why the Proxy authentication is failing with the Code Segment #2 and why it is passing in case of Code Segment #3
    The endpoint base URL we are hitting is hosted on Weblogic server 9.0 (which is hosted at client side in US so it is behind our firewall).
    Is some thing more do we need to do in Authenticator class???
    Please help me if any one has worked on proxy server authenticator in java.

  • Weblogic 9.2 webservice client getting ClassCastException XmlTokenImpl

    Hi,
    I have written a webservice using the JAX-WS notation and Weblogic 9.2 MP3 libraries. I generated the server using jwsc and the client using clientgen. The server is working fine. But whenever I used the generated client stubs, I am getting this error:
    java.lang.ExceptionInInitializerError
         at weblogic.wsee.ws.init.WsDeploymentChain.newClientChain(WsDeploymentChain.java:24)
         at weblogic.wsee.ws.WsFactory.callClientListeners(WsFactory.java:108)
         at weblogic.wsee.ws.WsFactory.createClientService(WsFactory.java:46)
         at weblogic.wsee.jaxrpc.ServiceImpl.init(ServiceImpl.java:143)
         at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:111)
         at sdo.client.SDOService_Impl.<init>(SDOService_Impl.java:21)
         at sdo.client.SDOService_Impl.<init>(SDOService_Impl.java:17)
    Caused by: java.lang.ClassCastException: com.bea.xbean.values.XmlTokenImpl
         at weblogic.wsee.ws.init.WsConfigFactory.getDeploymentListenerConfig(WsConfigFactory.java:133)
         at weblogic.wsee.ws.init.WsConfigFactory.load(WsConfigFactory.java:93)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:45)
         at weblogic.wsee.ws.init.WsConfigFactory.newInstance(WsConfigFactory.java:34)
         at weblogic.wsee.ws.init.WsConfigManager.<clinit>(WsConfigManager.java:8)
         ... 54 more
    I spent lots of time debugging this and I found that this exception was generated when weblogic/xbean is trying to parse the listener-class in wsee-config.xml:
    <wsee:listener-class>weblogic.wsee.policy.deployment.ClientPolicyDeploymentListener</wsee:listener-class>
    For some reason, this got converted to an XmlTokenImpl object and the code was trying to cast it to com.sun.java.xml.ns.j2Ee.FullyQualifiedClassType. I don't know why it wasn't converted to the right class. But I noticed that the wseeConfig.xsd has this:
    <import namespace="http://java.sun.com/xml/ns/j2ee" schemaLocation="../../../../j2ee/descriptor/schemas/j2ee14/j2ee_1_4.xsd"/>
    Could it be that this "../../../../j2ee/descriptor/schemas/j2ee14/j2ee_1_4.xsd" is causing some issue?
    I had checked, double checked and triple checked my classpath and the jars I am using. I am using the weblogic.jar, xbean.jar, weblogic-container-binding.jar all from the Weblogic 9.2 MP3 server installation.
    Anyone has any idea on how to solve this? I am very stuck!

    Yes. I am using the 9.2 webservices. This is a new webservice I'm creating. The ant build.xml file to generate it is like this:
    <jwsc srcdir="${SRCDIR}/src" destdir="${EXPDIR}/webservice"
    tempdir="${WRKDIR}/webservice"
    verbose="on" debug="on"
    enableAsyncService="false"
    classpathref="our.custom.classpath" keepGenerated="true">
    <jws file="sdo/webservice/impl/SDOWSImpl.java"
    contextPath="SDO" name="SDOService">
    <WLHttpTransport contextPath="SDO"
    serviceUri="SDOService"
    portName="SDOService"/>
    </jws>
    </jwsc>
    The our.custom.classpath is as follows:
    <path id="our.custom.classpath">
    <pathelement location="${EXPTOP}/log4j/1.29/lib/log4j.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/apache_xbean.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/xbean.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/weblogic.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/wsse.jar"/>
    </path>
    I have to include xbean.jar here because if I didn't, I got "java.lang.NoClassDefFoundError: com/bea/xml/XmlException" during the ant build.
    How do I make sure I use the 9.2 style xbeans?
    thanks!

  • 2 way ssl, cac card, weblogic 9.2 webservice

    I have 2 way ssl configured in lower environement and I am using WLSSLAdapter to send the client cert and key. It is working perfectly in lower environement when I use JKS and load certificate and private key from JKS.
    But when I use CAC Card reader and pass the X509Certificate and Privatekey, I get following:
    HANDSHAKE_FAILURE alert received from XXX.XX.X.XXX - XXX.XX.X.XXX. Check both sides of the SSL configuration for mismatches in supported ciphers, supported protocol versions, trusted CAs, and hostname verification settings.>
    Please help as I am close to deploying in Production.
    Pls. Pls. Pls.

    Yes. I am using the 9.2 webservices. This is a new webservice I'm creating. The ant build.xml file to generate it is like this:
    <jwsc srcdir="${SRCDIR}/src" destdir="${EXPDIR}/webservice"
    tempdir="${WRKDIR}/webservice"
    verbose="on" debug="on"
    enableAsyncService="false"
    classpathref="our.custom.classpath" keepGenerated="true">
    <jws file="sdo/webservice/impl/SDOWSImpl.java"
    contextPath="SDO" name="SDOService">
    <WLHttpTransport contextPath="SDO"
    serviceUri="SDOService"
    portName="SDOService"/>
    </jws>
    </jwsc>
    The our.custom.classpath is as follows:
    <path id="our.custom.classpath">
    <pathelement location="${EXPTOP}/log4j/1.29/lib/log4j.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/apache_xbean.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/xbean.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/weblogic.jar"/>
    <pathelement location="${EXPTOP}/weblogic/9.23/lib/wsse.jar"/>
    </path>
    I have to include xbean.jar here because if I didn't, I got "java.lang.NoClassDefFoundError: com/bea/xml/XmlException" during the ant build.
    How do I make sure I use the 9.2 style xbeans?
    thanks!

  • Weblogic RPC-Style webservice parameter problem

    I am getting a strange error when using RPC-style web services. When I
    try and pass and object which contains an array of objects I get an
    error. When returning this same object from a function I have no errors.
    I have noticed that if I change the arrayType from anyType in the
    incoming soap message to one of the xml schema primitives there is no
    problem -- such as int, long, and string. I am using Weblogic 8.1 sp3. I
    have used a java client, .net client, and the JWS web page to recreate
    this problem. Here is the error I am receiving back from the service:
    Invalid Request for setTestObject
    com.bea.wlw.runtime.core.request.RequestValidationException: Error
    deserializing arguments.
    Encountered an xml tag without a recognized type: the type must be
    declared with an xsi:type attribute.
    Caused by: com.bea.xml.marshal.XmlEncodingException: Encountered an xml
    tag without a recognized type: the type must be declared with an
    xsi:type attribute.
    and here is my wsdl generated from the JWS:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="ObjectArrayTest.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/"
    xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0
    ="http://www.openuri.org/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified"
    targetNamespace="http://www.openuri.org/"
    xmlns:s="http://www.w3.org/2001/XMLSchema"
    xmlns:ope="http://www.openuri.org/">
    <s:element name="TestObject" nillable="true" type="ope:TestObject"/>
    <s:complexType name="TestObject">
    <s:sequence>
    <s:element name="_prop" type="s:string" minOccurs="0"/>
    <s:element name="_set" type="ope:ArrayOfanyType" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfanyType">
    <s:sequence>
    <s:element name="anyType" type="s:anyType" nillable="true"
    minOccurs="0" maxOccurs="unbounded"/>
    </s:sequence>
    </s:complexType>
    </s:schema>
    <s:schema elementFormDefault="qualified"
    targetNamespace="http://www.openuri.org/encodedTypes"
    xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:enc2
    ="http://www.openuri.org/encodedTypes"
    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
    <s:complexType name="TestObject">
    <s:sequence>
    <s:element name="_prop" type="s:string" minOccurs="0"/>
    <s:element name="_set" type="enc2:ArrayOfanyType" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="ArrayOfanyType">
    <s:complexContent>
    <s:restriction base="enc:Array">
    <s:sequence>
    <s:element name="anyType" type="s:anyType" minOccurs="0"
    maxOccurs="unbounded"/>
    </s:sequence>
    <s:attribute ref="enc:arrayType" wsdl:arrayType="s:anyType[]"/>
    </s:restriction>
    </s:complexContent>
    </s:complexType>
    <s:complexType name="ObjectArrayItem">
    <s:sequence>
    <s:element name="_prop" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:schema>
    </types>
    <message name="getTestObjectSoapIn"/>
    <message name="getTestObjectSoapOut">
    <part name="getTestObjectResult" type="s1:TestObject" xmlns:s1
    ="http://www.openuri.org/encodedTypes"/>
    </message>
    <message name="setTestObjectSoapIn">
    <part name="inTestObject" type="s1:TestObject" xmlns:s1
    ="http://www.openuri.org/encodedTypes"/>
    </message>
    <message name="setTestObjectSoapOut"/>
    <message name="getTestObjectHttpGetIn"/>
    <message name="getTestObjectHttpGetOut">
    <part name="Body" element="s0:TestObject"/>
    </message>
    <message name="getTestObjectHttpPostIn"/>
    <message name="getTestObjectHttpPostOut">
    <part name="Body" element="s0:TestObject"/>
    </message>
    <portType name="ObjectArrayTestSoap">
    <operation name="getTestObject">
    <input message="s0:getTestObjectSoapIn"/>
    <output message="s0:getTestObjectSoapOut"/>
    </operation>
    <operation name="setTestObject">
    <input message="s0:setTestObjectSoapIn"/>
    <output message="s0:setTestObjectSoapOut"/>
    </operation>
    </portType>
    <portType name="ObjectArrayTestHttpGet">
    <operation name="getTestObject">
    <input message="s0:getTestObjectHttpGetIn"/>
    <output message="s0:getTestObjectHttpGetOut"/>
    </operation>
    </portType>
    <portType name="ObjectArrayTestHttpPost">
    <operation name="getTestObject">
    <input message="s0:getTestObjectHttpPostIn"/>
    <output message="s0:getTestObjectHttpPostOut"/>
    </operation>
    </portType>
    <binding name="ObjectArrayTestSoap" type="s0:ObjectArrayTestSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
    style="rpc"/>
    <operation name="getTestObject">
    <soap:operation soapAction="http://www.openuri.org/getTestObject"
    style="rpc"/>
    <input>
    <soap:body use="encoded" namespace="http://www.openuri.org/"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output>
    <soap:body use="encoded" namespace="http://www.openuri.org/"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
    <operation name="setTestObject">
    <soap:operation soapAction="http://www.openuri.org/setTestObject"
    style="rpc"/>
    <input>
    <soap:body use="encoded" namespace="http://www.openuri.org/"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </input>
    <output>
    <soap:body use="encoded" namespace="http://www.openuri.org/"
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </output>
    </operation>
    </binding>
    <binding name="ObjectArrayTestHttpGet" type="s0:ObjectArrayTestHttpGet">
    <http:binding verb="GET"/>
    <operation name="getTestObject">
    <http:operation location="/getTestObject"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="ObjectArrayTestHttpPost"
    type="s0:ObjectArrayTestHttpPost">
    <http:binding verb="POST"/>
    <operation name="getTestObject">
    <http:operation location="/getTestObject"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="ObjectArrayTest">
    <port name="ObjectArrayTestSoap" binding="s0:ObjectArrayTestSoap">
    <soap:address
    location="http://localhost:7001/RPCObjectArrayFailureWeb/com/test/Object
    ArrayTest.jws"/>
    </port>
    <port name="ObjectArrayTestHttpGet" binding="s0:ObjectArrayTestHttpGet">
    <http:address
    location="http://localhost:7001/RPCObjectArrayFailureWeb/com/test/Object
    ArrayTest.jws"/>
    </port>
    <port name="ObjectArrayTestHttpPost"
    binding="s0:ObjectArrayTestHttpPost">
    <http:address
    location="http://localhost:7001/RPCObjectArrayFailureWeb/com/test/Object
    ArrayTest.jws"/>
    </port>
    </service>
    </definitions>
    Thanks for the help.
    Steve

    Hello Omar,
    I have the same problem with BEA WLP 8.1 SP4.
    Did you find any issue in order to solve it ?
    Thanks for any help.
    Sincerely,
    Gérard

  • Weblogic 10.0 webservice java to wsdl

    can i use JAXB annotations in my web service for which im using weblogic 10.0 to deploy the service.
    Does weblogic 10.0 supports JAXB annotations..

    Hello,
    I have not seen this particular error before, but if you can re-build the EJB using Workshop 10.0 I bet it will fix your problem. The old Workshop is running an old version of appc which the 10.0 version of WLS is probably not expecting.
    Kevin

  • Webservices over WebLogic!!

    Hi Experts!!
    I am new to Oracle WebLogic and I am trying to deploy a WebService on WebLogic. I managed to successfully deploy the application. Now i want to redirect the messages received via webservice into a queue. Is there any direct method to redirect the messages received via webservice to a JMS Queue? Would appreciate if you can help me out with an example. Thanks in advance.
    Anoop.

    Is it not possible to redirect the messages??? Or Do I need to write a MessageProducer, which takes the soap message and send it to the corresponding queue?

  • Using JMS Event Generator w/ remote WebLogic 8.1 queue

    Hello,
    I'm trying to create a workflow that is started by a JMS message queue event.
    I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a queue
    on a remote WebLogic 8.1 installation, publish the incoming messages to a channel,
    then initiate a workflow by subscribing to that channel. Here's a copy of my configuration
    file for the tool:
    <message-broker-jms-event-generator-def source-jndi-name="SearchInputQueue"> <channel
    name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
    I tried to tackle this by configuring a foreign JMS Server, Connection Factory,
    and Destination using the Weblogic Admin Console. Below are the parameters I used
    to define the remote connection
    Foreign JMS Server:
    jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi connection
    url: //OPER1090:7001
    Foreign connection factory:
    local jndi name: FtsFactory remote jndi name: weblogic.jws.jms.QueueConnectionFactory
    (Are username and password required?)
    Foreign JMS Destination:
    local jndi name: SearchInputQueue remote jndi name: InternalSearchInputQueue
    After I try to deploy my generated JMS Event jar, I receive the following error:
    <Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to the JMS
    de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS destination
    with the JNDI name: SearchInputQueue could not b e found. Please ensure that the
    JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS destination has
    been deployed.>
    I'm pretty sure the problem is simply that my syntax is off somewhere in my configuration.
    I found the existing BEA documentation to be a bit too generic, containing no
    specific examples of the proper syntax to use for this task. Can anyone offer
    any advice or better, a working example? Any BEA reps out there?

    Hello,
    I'm trying to create a workflow that is started by a JMS message queue event.
    I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a queue
    on a remote WebLogic 8.1 installation, publish the incoming messages to a channel,
    then initiate a workflow by subscribing to that channel. Here's a copy of my configuration
    file for the tool:
    <message-broker-jms-event-generator-def source-jndi-name="SearchInputQueue"> <channel
    name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
    I tried to tackle this by configuring a foreign JMS Server, Connection Factory,
    and Destination using the Weblogic Admin Console. Below are the parameters I used
    to define the remote connection
    Foreign JMS Server:
    jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi connection
    url: //OPER1090:7001
    Foreign connection factory:
    local jndi name: FtsFactory remote jndi name: weblogic.jws.jms.QueueConnectionFactory
    (Are username and password required?)
    Foreign JMS Destination:
    local jndi name: SearchInputQueue remote jndi name: InternalSearchInputQueue
    After I try to deploy my generated JMS Event jar, I receive the following error:
    <Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to the JMS
    de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS destination
    with the JNDI name: SearchInputQueue could not b e found. Please ensure that the
    JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS destination has
    been deployed.>
    I'm pretty sure the problem is simply that my syntax is off somewhere in my configuration.
    I found the existing BEA documentation to be a bit too generic, containing no
    specific examples of the proper syntax to use for this task. Can anyone offer
    any advice or better, a working example? Any BEA reps out there?

  • Webservice controls using WSDL in weblogic portal10.3.2

    Hi All
    How to create and use Webservice controls using WSDL in weblogic portal10.3.2 ? Is that possible ? If no, is there any other easy way to implement the same ?
    thanx
    developer

    This document should help.
    http://download.oracle.com/docs/cd/E15315_03/help/oracle.eclipse.tools.weblogic.doc/html/webservices/start.html
    Brad

  • Weblogic JMS - Size of queue

    Hi,
    Am a bit new to JMS. Can anyone let me know if there is a way to compute the size of the queue?
    The requirement is as below:
    Task 1:
    Sends messages to the queue
    //Create connection, create session
    //Send message to the queue
    // Close connection
    An MDB listens to this queue and processes the messages
    This is working fine for me..
    Now I have Task 2 which needs to run only when all messages in the queue are processed.
    So, I need a way to check the queue size to ensure all messages are processed, if not, task 2 needs to wait..
    How do I check the queue size?
    I tried using queueBrowser.getEnumeration() but this doesnt seem to work!
    It is always empty although I can see from the weblogic console there are messages in the queue.
    I have also set the MessageMaximum on weblogic to 1.. What am I doing wrong?
    Thanks in advance.
    Edited by: user11085091 on Nov 17, 2009 4:22 PM

    Hi,
    This is Oracle thread. Please post your this request to either following forum on JDK or somewhere you have WebLogic forums.
    Java in the Oracle Database
    Regards

  • Weblogic webservice with DIME

    hi,
    I want weblogic webservice with DIME.
    I not know weblogic 8.1 webservice support DIME type.
    Please asked me this qustion and i'm not achivement this goal.
    Some hint, some reference document or some source file send to me.
    thank your advice.

    Hi Shon,
    A word of caution:
    DIME is not a widely-adopted encoding format for doing SwA (SOAP with Attachments).
    This fact is somewhat borne out by how Microsoft has positioned it as "one of
    the encoding formats" supported with their WS-Attachment note (or recommendation,
    or whatever).
    That said, you may be able to use a JAX-RPC Handler to create/process DIME attachments,
    with WLS and WLW web services. If not, the next best bet is to use a Servlet filter,
    in front of the Servlet that serves as the router for a WebLogic Web Service.
    Neither of these approaches is "simple", but they aren't "rocket science" either.
    You'll need to download the Java DIME Library from Onion Networks (http://onionnetworks.com/downloads/dime-1.0.3.zip),
    to do either of these.
    Regards,
    Mike Wooten
    shon <[email protected]> wrote:
    Hi Bruce Stephens.
    Thank your advice.
    I visited advice url, But i'm not understand that how to use Java Dime
    Libray v1.0.3. If you have some example source or some reference file,
    send to my e-mail address.
    Thank your advice

  • Issue in Calling https webservice calls from Weblogic

    Hi,
    My application is hosted on the weblogic server.
    I am trying to call http basic authenticated webservice from my application.
    But I am not able to access it. I am getting error.
    Exception occured while calling WS : 2 counts of InaccessibleWSDLException.
    com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
    java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'https://somehost/ws/xyz.wsdl'
    java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'https://somehost/ws/xyz.wsdl?wsdl'
    I have added the code to authenticate the request. But it seems that it is not working from weblogic.
    class MyAuthenticator extends Authenticator {
    @Override
    protected PasswordAuthentication getPasswordAuthentication() {
    PasswordAuthentication pwa = new PasswordAuthentication(
    "uname",
    "pwd".toCharArray());
    return pwa;
    Authenticator authenticator = new MyAuthenticator();
    Authenticator.setDefault(authenticator);
    PaymentService webForm=new PaymentService(wsURL, getDefaultQName(PaymentService.class)); ---> Exception occurs here.
    PaymentWebForm sessionService=webForm.getPaymentSoap11();
    response=sessionService.getSession(wfSessionRequest);
    Please help. This is not working only from weblogic however if I execute it from standalone Java client then it worked without any issue.
    Is there any configuration needs to be done in Weblogic for secure webservice calls? Please advise.
    Thanks,
    -Pankaj Chomal

    The same probolem happened in my side.
    1.web.xml
    <security-role>
    <description>role for acess the WS api</description>
    <role-name>Admin</role-name>
    </security-role>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>web service api</web-resource-name>
    <url-pattern>/ws/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name> Admin</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    2.weblogic.xml have you done?
    <security-role-assignment>
    <role-name>Admin</role-name>
    <principal-name>Administrators</principal-name> //weblogic server group
    </security-role-assignment>
    3.1 calling in a Main method , it works!
    Authenticator.setDefault(new Authenticator() {
         protected PasswordAuthentication getPasswordAuthentication() {
         return new PasswordAuthentication("wsuser", "12345678".toCharArray());
    HrWebService hws = new HrWebServiceService().getHrWebServicePort();
    System.out.println("Result:====="+ hws.getEmpInfoByQryContent("100384"));
    com.jl.ws.hello.AuthHello ah = new AuthHelloImplService().getAuthHelloImplPort();
         System.out.println(ah.say("Edward"));
    3.2 each method as following(including the method above mentioned) called failed in a jsp page, any good idea?
    method a:
    javax.security.auth.Subject mySubject = weblogic.security.services.Authentication.login(
              new weblogic.security.URLCallbackHandler("wsuser", "12345678"));
    weblogic.servlet.security.ServletAuthentication.runAs(mySubject, request);
    method b:
    javax.security.auth.callback.CallbackHandler handler = new weblogic.security.URLCallbackHandler("wsuser", "12345678");
    javax.security.auth. Subject mySubject = weblogic.security.services.Authentication.login(handler);
    weblogic.servlet.security.ServletAuthentication.runAs(mySubject, request);
    method c:
    weblogic.servlet.security.ServletAuthentication.login("wsuser", "12345678", request,response);
    4. excpeiton message
    javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:7001/jlerp/ws/hr/hrSearch?wsdl. It failed with:
         Response: '401: Unauthorized' for url: 'http://localhost:7001/jlerp/ws/hr/hrSearch?wsdl'.
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:172)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:153)
         at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:284)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:246)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:197)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:187)
         at weblogic.wsee.jaxws.spi.WLSServiceDelegate.(WLSServiceDelegate.java:73)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.(WLSProvider.java:515)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:103)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:95)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:71)
         at javax.xml.ws.Service.(Service.java:56)
         at com.jl.ws.hr.HrWebServiceService.(HrWebServiceService.java:53)
         at com.jl.ws.HrSearchClient.hell0(HrSearchClient.java:32)
         at jsp_servlet._de._jsp.__dejjuserlist._jspService(__dejjuserlist.java:136)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.FileNotFoundException: Response: '401: Unauthorized' for url: 'http://localhost:7001/jlerp/ws/hr/hrSearch?wsdl'
         at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:474)
         at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
         at java.net.URL.openStream(URL.java:1010)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:842)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:289)
         at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:138)
         at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:284)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:246)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:198)
         at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:190)
         at weblogic.wsee.jaxws.spi.WLSServiceDelegate.(WLSServiceDelegate.java:62)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.(WLSProvider.java:515)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:103)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:95)
         at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:71)
         at javax.xml.ws.Service.(Service.java:56)
         at com.jl.ws.hr.HrWebServiceService.(HrWebServiceService.java:54)
         at com.jl.ws.HrSearchClient.hell0(HrSearchClient.java:32)
         at jsp_servlet._de._jsp.__dejjuserlist._jspService(__dejjuserlist.java:138)
         ... 10 more
    any info is thankful.
    Edited by: EdwardXiao on Jan 8, 2013 10:48 PM

  • Jms queue problem in 11g

    exception trace is comming, while running the project in weblogic, in the project iam using jms queue, i configured the jms server and jms module and connection factory but it is showing these exception
    [The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: InvalidSecurity : error in processing the WS-Security security header]
    can any one please, provide the suggestions

    i got the solution for my problem, i just need to add owsm policies to my processs

Maybe you are looking for

  • Index not being used in Oracle 11g

    Hi, I executed an SQL in Oracle 9i based on a Materialized View with an index. Execution plan shows it used Index and did Range scan. But the same query if I executed in Oracle 11g, it did full table scan and ignored the index. Finally, I used /*+Ind

  • Problem with my iPod Touch

    Every time I tried to play music or an app my iPod would crash, so I tried restoring it, and backed it up, but it wont finish restoring, and says I need to insert a disk to complete the installation, which I don't have. What can I do to fix this?

  • Keep Red Filename when exporting to QT

    I have a lot of Red Footage which I need to trim/color correct in FCP. I use log and transfer window to ingest the footage and then Export > Quick Time to 1080p. The problem is, I have to maintain the original filename for future reference. Is there

  • Download to Excel 2000 Functionality

    Hi, I use the "Download to Excel 2000" functionality in OBIEE. When i see the output in Excel,columns B and C of excel get merged and display the second column in my report The point here is the first column in the report also has the same property a

  • How can I resync PSE 13 with my PSE9?

    When I installed PSE 13 it imported the information from PSE 9.  PSE 9 was then again used so the information is now inconsistent between the two.  How can I again resync my PSE 13 with PSE 9 information?