Accessing non-weblogic SOAP

Hello,
I'm trying to access some simple web services which are implemented using
some Perl module (don't ask ....).
After I've gotten their WSDL file, I can successfully generate stubs using
the clientgen ant task.
However, when I try to access the webservice from within my EJB's, I get the
following error message:
An IOException was thrown trying to access the WSDL at the given URL.
java.io.FileNotFoundException: Response: '411: Length Required' for url:
'http://petest01:8082/cgi-bin/WebStore.cgi'
It seems as if the perl SOAP implementation doesn't allow me to check their
WSDL file. Just sending the SOAP POST messages works fine.
I explicitly specified the 'saveWSDL' option to the clientgen task, but it
still tries to access the WSDL file at runtime. Any way to resolv this
issue?
Regards,
Francois Staes.

Hi Francois,
The JAR file generated by the <clientgen> Ant task, has a static WSDL inside it.
To get your JAX-RPC client to use it, write code that looks like this:
MyService_Impl service = null;
MyServicePort port = null;
try
// There are two constructors for every XXX_Impl class.
// The one that accepts a wsdlURL (as a String) will
// request the WSDL from the service provider. The
// no-arg one will just use the statis WSDL in the
// client.jar generated by the <clientgen> Ant task.
service = new MyService_Impl();
port = service.getMyServicePort();
MyObject response = port.myServiceOperation();
Again, this will cause the WLS client-side JAX-RPC classes, in the webserviceclient.jar,
to use the static WSDL (in the client.jar generated by the <clientgen> Ant task)
to invoke the target web service. It will not send a request to the target web
service to retrieve it's WSDL, because it already has it.
Regards,
Mike Wooten
Francois Staes <[email protected]> wrote:
>
Hello,
I'm trying to access some simple web services which are implemented using
some Perl module (don't ask ....).
After I've gotten their WSDL file, I can successfully generate stubs
using
the clientgen ant task.
However, when I try to access the webservice from within my EJB's, I
get the
following error message:
An IOException was thrown trying to access the WSDL at the given URL.
java.io.FileNotFoundException: Response: '411: Length Required' for url:
'http://petest01:8082/cgi-bin/WebStore.cgi'
It seems as if the perl SOAP implementation doesn't allow me to check
their
WSDL file. Just sending the SOAP POST messages works fine.
I explicitly specified the 'saveWSDL' option to the clientgen task, but
it
still tries to access the WSDL file at runtime. Any way to resolv this
issue?
Regards,
Francois Staes.

Similar Messages

  • What is needed on non-weblogic client to make soap request

    Hi, I am trying to make a soap request from a client that is not weblogic to a
    weblogic6.1 server. I was under the impression that all I needed was the client.jar
    created by wsgen. But when I try to access the service through the client I get
    the below exception. It appears to be trying to access a weblogic class that is
    not contained in the client.jar. Does this mean I also need to include the weblogic.jar
    on the client(I'm hoping not to). Thanks
    java.lang.NoClassDefFoundError: weblogic/net/http/HttpsURLConnection
         at weblogic.soap.http.SoapContext.lookup(SoapContext.java:87)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at index_1._jspService(index_1.java:68)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
         at org.apache.tomcat.core.Handler.service(Handler.java:235)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:484)

    Hi Jane,
    Looks like you have run smack dab into one of the first "myths" about web services
    - "SOAP client software is not vendor- dependent" :-) This is in fact, exactly
    the opposite! And it's not just WebLogic's SOAP client API that has this "vendor-dependent"
    code. Apache SOAP, Apache AXIS, Systinet WASP, GLUE, etc. exhibit the same behavior.
    The difference is that WebLogic's client.jar, is not really a "standalone, SOAP
    client package". It's a "web service-specific" client package.
    JAX-RPC (and the other APIs in the Java Web Services Developer's Pack) is attempting
    to reduce a fair amount of this "vendor-dependency", but there will always be
    some :-) WLS 6.1 doesn't use JAX-RPC, so...
    Anyway, how many "vendor classes" you need, depends on what you are attempting
    to do in the client. If you are just consuming a web service that uses "SOAP encoding",
    then you'll need less. If you are consuming a web service that uses "literal encoding",
    you'll need more. An easy (albeit time consuming) way to figure out which classes
    you need from the weblogic.jar file, to use WebLogic's Web Service client package
    inside Tomcat, is to use the "-verbose:class" option, on the Java command used
    to start Tomcat. This will produce a lot of output, so I suggest you capture it
    to a log, instead of sending it to stdout :-) But, as I said, this is a very,
    very, very time consuming way to determine all the classes you need from the weblogic.jar
    file. Trust me, I've done this before and it took me about 3 hours to find every
    class that's needed! It's simpler just to include the weblogic.jar file in the
    CLASSPATH you start Tomcat with :-)
    Another option is to just use the Apache SOAP package to create the web service
    client. This works wonderfully, if you don't want to use WSDL (Apache SOAP doesn't
    support WSDL). If you want to use WSDL, go with the Apache AXIS package. It has
    an implementation of JAX-RPC, and is pretty close to the Web Services implementation
    in WLS 7.0 (which I'm assuming you'll eventually upgrade to anyway, right?).
    Regards,
    Mike Wooten
    "Jane" <[email protected]> wrote:
    >
    Hi, I am trying to make a soap request from a client that is not weblogic
    to a
    weblogic6.1 server. I was under the impression that all I needed was
    the client.jar
    created by wsgen. But when I try to access the service through the client
    I get
    the below exception. It appears to be trying to access a weblogic class
    that is
    not contained in the client.jar. Does this mean I also need to include
    the weblogic.jar
    on the client(I'm hoping not to). Thanks
    java.lang.NoClassDefFoundError: weblogic/net/http/HttpsURLConnection
         at weblogic.soap.http.SoapContext.lookup(SoapContext.java:87)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at index_1._jspService(index_1.java:68)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
         at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
         at org.apache.tomcat.core.Handler.service(Handler.java:235)
         at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:484)

  • Simple question re invoking non-WebLogic web services

    I have a very simple question that I haven't been able to resolve elsewhere.
    I need to invoke 3rd-party SOAP interfaces from my WebLogic 6.1 client EJB. All
    the Bea documentation I've found refers to invoking "WebLogic Web Services" and
    speaks of downloading the client.jar -- however, in my case it's not a "WebLogic
    Web Service" I'm invoking, it's a non-WebLogic web service.
    Does WebLogic 6.1's WebServiceProxy (or other tool) allow this? Or must I use
    some other SOAP tool such as Apache Axis in this case?
    Thanks.
    Cheers,
    allan

    Could this interopability problem have something to do with a problem
    I'm experiencing on 61.sp3?
    I have an EJB that accesses SOAP services on a Tomcat server. The SOAP
    service sends back a SOAP exception which is correct in what I am asking
    in to do. However, the weblogic app server is returning a SOAP
    exception to my EJB rather than passing the SOAP exception to the API
    that I am using to make my SOAP calls.
    Has anyone seen something like this?
    Sandy Mustard
    john wrote:
    >
    The 'samples/examples/webservices/rpc/javaClient/XMethodClient'
    is an example of how to invoke a non-WL webservice. You can
    use that code within your EJB.
    The javadocs for the WebServiceProxy class (from BEA's site)
    will give you more methods that may be useful to you.
    Note that your best bet, if possible, is to use the JAX-RPC
    APIs within WebLogic 7. The SOAP support in WL6.1 has
    interoperability issues.
    -john
    "Allan Halme" <[email protected]> wrote:
    I have a very simple question that I haven't been able to resolve elsewhere.
    I need to invoke 3rd-party SOAP interfaces from my WebLogic 6.1 client
    EJB. All
    the Bea documentation I've found refers to invoking "WebLogic Web Services"
    and
    speaks of downloading the client.jar -- however, in my case it's not
    a "WebLogic
    Web Service" I'm invoking, it's a non-WebLogic web service.
    Does WebLogic 6.1's WebServiceProxy (or other tool) allow this? Or must
    I use
    some other SOAP tool such as Apache Axis in this case?
    Thanks.
    Cheers,
    allan

  • Upgrading from 8.1 to 9.2: non-WL SOAP/websvc client timeout

    So, I was using a Weblogic 8.1 'clientgen' generated a SOAP/websvc client, based on a WSDL the svc provider gave me. The generated components were accessing an Axis SOAP svc from a WL 8.1 deployed svc.
    To set the conn timeout and SOAP-end-point-URL dynamically, I did this:
    System.setProperty("weblogic.webservice.UseWebLogicURLStreamHandler","true");
    BindingInfo bindingInfo =(weblogic.webservice.binding.BindingInfo) stub._getProperty("weblogic.webservice.bindinginfo");
    bindingInfo.setTimeout(3);
    bindingInfo.setAddress("http://someco.com/SOAPEndPoint");
    After regenerating using WL 9.2 'clientgen', it turns out BindingInfo is deprecated, but it only says "please migrate to jws for webservices". Not sure what that means, but after some searching, I was able to figure out that I might be able to do this:
    stub._setProperty(MyStub.ENDPOINT_ADDRESS_PROPERTY,"http://someco.com/SOAPEndPoint");
    stub._setProperty("weblogic.wsee.transport.connection.timeout",3);
    Sadly, my env is not ready yet, so I haven't been able to try it out, so I thought I'd check here for comments.
    I know I could do this using Axis' wsdl2java generated components, but I want to keep it within weblogic for now.
    Also, I'm suspecting that the URL stream handler is no longer needed either.
    Any comments?
    Karoly

    Hi All,
    I am also having the same problem.
    Some one PLEASE HELP, its very urgent.
    Thanks,

  • Sending WSSE security headers to non-weblogic web service

    I have been trying to send wsse headers to a non-weblogic web service. I am looking for a way to do this using the control file I generated from the wsdl or the page flow where I implement the control, or the message handler file. I have username and password parameters but I cannot get this to function.
    Here is the signature I need:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <env:Header>
    - <wsse:Security env:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    - <wsse:UsernameToken wsu:Id="Id-dFQDZm_34ewPYtaARIJ_4BfI" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>weblogic</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">weblogic</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </env:Header>
    - <env:Body>
    <n1:hello xmlns:n1="http://workshop.bea.com/WebServiceB" />
    </env:Body>
    </env:Envelope>
    Of course the Body is different, but this is the security signature that I need to get into the header. After looking at all the examples, I only see the option of using a java proxy class to call the web service, which would be a little difficult to use as my whole page flow application so far is calling the web service from a generated control. There are also lots of coplex datatypes that are being sent to the web service so a jave proxy would be a little difficult. I have tried to take the code from the java proxy class example and put it in my handler class, but the handler seems to only use MessageContext, not WebServiceContext and will not let me add the username password tokens. When I have tried to case a WebServiceContext out of a MessageContext, it gives me a runtime error "Class Cast Exception" even though workshop lets me do it.
    This is extremely urgent. Please help me! I am using the sample handler class called MessageHandler.java and the sample WSSE java proxy class called WebServiceBClient.java that generated the above signature.

    More information:
    Here is the first part of my Java Control where I am calling the web service and the message handler:
    package controls;
    * @jc:location http-url="http://localhost:7001/Checking.jws"
    * @jc:wsdl file="#CheckingWsdl"
    * @jc:handler callback="MessageHandler" operation="MessageHandler"
    public interface CheckingService extends com.bea.control.ControlExtension, com.bea.control.ServiceControl
    public static class CustomerInfo
    implements java.io.Serializable
    public java.lang.String FirstName;
    public java.lang.String LastName;
    public java.lang.String MiddleName;
    public int SSN;
    public int CustomerNumber;
    public java.util.Calendar CreationDate;
    public java.util.Calendar LastModifiedDate;
    public static class FundingInfo
    implements java.io.Serializable
    public float Amount;
    public java.util.Calendar CurrentDate;
    public int AccountNumber;
    public static class anyType
    implements java.io.Serializable
    public com.bea.xml.XmlObject[] t;
    public static class AccountInfo
    implements java.io.Serializable
    public int AccountNumber;
    public float Balance;
    public int CustomerNumber;
    public java.util.Calendar LastModifiedDate;
    * @jc:protocol form-post="false" form-get="false"
    public AccountInfo CreateAccountChecking (CustomerInfo CustomerInfo, FundingInfo FundingInfo, anyType CommonHeader);
    static final long serialVersionUID = 1L;
    Here is the section of the MessageHandler class where I am attempting to add security token to the header:
    protected void addSecurityHeader (MessageContext mc)
    * Registers a handler for the SOAP message traffic.
    HandlerRegistry registry = mc.getHandlerRegistry();
    List list = new ArrayList();
    list.add(new HandlerInfo(WSSEClientHandler.class, null, null));
    registry.setHandlerChain(new QName("hello"), list);
    try
    WebServiceContext context = (WebServiceContext)WebServiceContext.currentContext().getLastMessageContext();
    //(WebServiceContext)mc;
    WebServiceSession session = context.getSession();
    * Set the username and password token for SOAP message sent from the client, through
    * the proxy, to the web service.
    UserInfo ui = new UserInfo("weblogic", "weblogic");
    session.setAttribute(WSSEClientHandler.REQUEST_USERINFO, ui);
    //mc.setProperty(WSSEClientHandler.REQUEST_USERINFO, ui);
    * Adds the username / password token to the SOAP header.
    SecurityElementFactory factory = SecurityElementFactory.getDefaultFactory();
    Security security = factory.createSecurity(null);
    security.addToken(ui);
    session.setAttribute(WSSEClientHandler.REQUEST_SECURITY, security);
    //mc.setProperty(WSSEClientHandler.REQUEST_SECURITY, security);
    } catch (Exception ex) {System.out.println("EXCEPTION CAUGHT DOING SECURITY STUFF " + ex.getMessage());}
    I tried to use the MessageContext to do this but it came out null. I tried to cast the MessageContext to WebServiceContext and it gave me a Class Cast Exception. I tried to add the HandlerRegistry section to this but of course the assignment mc.getHandlerRegistry is improper and is not compiling so don't let that confuse you.

  • CMT and using non-Weblogic JMS in a session bean

              I am writing a session bean which sends a JMS message using a non-weblogic JMS
              provider. This bean is marked for CMT and I want the JMS send to participate in
              this CMT as well. My understanding is that I should be able to do this by defining
              a <resource-ref> element in the ejb-jar.xml and a corresponding <resource-descriptor>
              element in the weblogic-ejb-jar.xml file. The bean would then use the <res-ref-name>
              defined under the <resource-ref> element to lookup the connection factory. What
              do I have to put in weblogic-ejb-jar.xml file to make sure that the connection
              factory specified in <res-ref-name> maps to a connection factory that is in a
              foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI) and not in
              Weblogic's JNDI?
              Thanks in advance for your help.
              

    It sounds like you're using Tibco JMS to receive messages from the MDB, and
              then to send out a message. WLS 7.0 will handle the transaction enlistment
              properly when it receives messages for the MDB, but you'll have to enlist
              the JMS provider yourself when you send the message, using the white paper
              that Tom pointed you to as a guide.
              In WLS 8.1, coming soon, we'll automatically enlist the provider in the
              transaction if you look it up using a "resource-ref" element in the EJB like
              you described. Today, you can use that element but no transaction
              enlistement is being done.
              greg
              "Venkat" <[email protected]> wrote in message
              news:[email protected]...
              >
              > We also need this feature.
              > We are using Weblogic 7.0 and Tibco JMS 3.0,
              > which supports XA.
              >
              > We are mainly interested in subscribing using MDB
              > and publishing using a session bean in one transaction.
              > Do you think by using resource-refs in conjunction
              > with registering with Weblogic JNDI during startup
              > can do the job?
              >
              > Or how about using XAConnectionFactory and XASession
              > classes for JMS publishing ?
              >
              > Thanks.
              >
              > Tom Barnes <[email protected]> wrote:
              > >Hi Mihir,
              > >
              > >Support for automatic enlistment of foreign JMS vendors
              > >via the resource-ref approach is not available in WLS.
              > >This support will be available in the next release:
              > >limited access beta is available now, public beta is available
              > >in 2-3 months. You are the first customer I've heard of that
              > >asked for this feature. Very cool. Good timing.
              > >
              > >As you are not using WebLogic JMS, you will need to do the
              > >transaction enlistment yourself. This isn't that hard
              > >to do. I suggest that you refer to the integrating foreign
              > >JMS vendor white-paper available on dev2dev.bea.com.
              > >Also, refer to the integrating transactions with
              > >MQSeries integration paper, which will likely serve your
              > >purposes better. Note that some JMS vendors
              > >have problems with concurrent transactions in a single
              > >JMS connection, or with transactions that attempt
              > >to switch threads (eg. suspend() in one thread
              > >and resume() in another).
              > >
              >
              >http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whit
              epapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_j
              msproviders.htm
              >
              >http://dev2dev.bea.com/resourcelibrary/whitepapersdetail.jsp?highlight=whit
              epapers&filePath=components%2Fdev2dev%2Fresourcelibrary%2Fwhitepapers%2Fwp_j
              tatransactions.htm
              > >
              > >Tom
              > >
              > >mihir sharma wrote:
              > >> I am writing a session bean which sends a JMS message using a
              non-weblogic
              > >JMS
              > >> provider. This bean is marked for CMT and I want the JMS send to
              participate
              > >in
              > >> this CMT as well. My understanding is that I should be able to do this
              > >by defining
              > >> a <resource-ref> element in the ejb-jar.xml and a corresponding
              <resource-descriptor>
              > >> element in the weblogic-ejb-jar.xml file. The bean would then use the
              > ><res-ref-name>
              > >> defined under the <resource-ref> element to lookup the connection
              factory.
              > >What
              > >> do I have to put in weblogic-ejb-jar.xml file to make sure that the
              > >connection
              > >> factory specified in <res-ref-name> maps to a connection factory that
              > >is in a
              > >> foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI)
              > >and not in
              > >> Weblogic's JNDI?
              > >>
              > >> Thanks in advance for your help.
              > >>
              > >
              >
              

  • Providing developers with access to WebLogic logs

    Hi all,
    I keep getting asked by developers for access to WebLogic logs in restricted test environments. But due to security policies, I can't just create an account for them. In one of my previous roles we just gave developers access to a WeLogic monitor account (read-only), but I find the WebLogic admin console is not user friendly for viewing logs.
    To overcome this, I created a really simple WebLogic app that lets the developers access all logs files on the managed servers.
    I've blogged a quick how-to here for anyone interested in doing the same: [http://connectionserver.blogspot.com/2009/05/listing-directories-simple-weblogic.html|http://connectionserver.blogspot.com/2009/05/listing-directories-simple-weblogic.html]
    Hope it helps someone :)
    P.S. Perhaps someone could modify it to restrict access to certain roles.
    -Mr Jones.

    You may run into incompatible class versions issue. Basically you have altogehter 2 different JVMs. One for EJBs (utility framework as you defiined using 1.3). Another JVM is weblogic server using JDK 1.6 where you have Client to remotely access those EJBs methods. Going back, when you generate the client stubs and skeletons, and refer them on your client side, did you ran into any issues like with incompatible class versions.
    Goud

  • Can T3Client access the WebLogic Server Workspace.

    Hi,
    a couple of questions ....
    Can the T3Client access the Weblogic Server Workspace ???
    If so,how ???
    The reason for this that I want to get access to the Weblogic Server Cache.
    Is there any other way of getting access to the WebLogic Server Cache ???
    Kindly let me know if you find the answer.
    Thanks & regards,
    Karan.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    -Griff W.

  • Provide developer a username and password to access the weblogic

    Hi,
    we have a weblogic server with a domain name soa_domain and a managed server instance name soa_server1.
    we have 5 developer working. Our aim is to give each developer a username and password to access the weblogic for developing and deploying the applications so that they will not be able to access or tamper other developers work.
    how to accomplish this in weblogic 11g
    Thanks in Advance
    user3560574

    GO to Security Realms > myrealm > Users n Groups > Create a new user (say 'developer') > Click on 'developer' user > Click on Groups > Make it a member of the groups you want your developer to be depending on what kind of previledges you want to give them.
    -Faisal
    http://www.weblogic-wonders.com

  • Non-Blocking SOAP-Message WITHOUT Messaging Provider?

    Hi there!
    Is there any possibility of sending a non-blocking SOAP-Message WITHOUT using a MessagingProvider?
    I�m thinking about a Service which doesn�t need to give any Feedback!
    Thanks alot!
    Eric Sommer

    I believe that JAXM does not support a non-blocking send without a messaging provider. However, the receiver can simply return an empty message and the sender can ignore the reply:
    public SOAPMessage onMessage(SOAPMessage msg) {
        // process message
        return messageFactory.createMessage();
    }In fact, the receiver may be able to return the same message it received. I've tried this and it works but I didn't dig into the JAXM spec to be sure it's legal.
    Mike

  • Can you access non-Oracle database with HTML DB?

    Can you access non-Oracle database with HTML DB? If not, will this be possible in the future?
    I realize HTML DB is not an open-source product. However, it is necessary sometimes to get non-Oracle database info. JDeveloper supports this. It does not appear to me that HTML DB does. This is a major drawback to it being a product for more potential applications that rely on other database technology such as MySQL, etc.
    If it is possible, is this brain surgery to do it. HTML DB offers fast simplified development and it would be good if it was built in. Does anyone know of an example of accessing non-Oracle database that is available?

    12282,
    In general, HTML DB gives you access to Oracle database facilities. These include heterogeneous services. Please search this forum for keyword "heterogeneous" and you can follow the threads that interest you.
    As for the comparison with brain surgery, I'd rank them about the same in terms of raw thrill.
    Scott

  • CMT with non-weblogic JMS in a session bean

    I am writing a session bean which sends a JMS message using a non-weblogic JMS
    provider. This bean is marked for CMT and I want the JMS send to participate in
    this CMT as well. My understanding is that I should be able to do this by defining
    a <resource-ref> element in the ejb-jar.xml and a corresponding <resource-descriptor>
    element in the weblogic-ejb-jar.xml file. The bean would then use the <res-ref-name>
    defined under the <resource-ref> element to lookup the connection factory. What
    do I have to put in weblogic-ejb-jar.xml file to make sure that the connection
    factory specified in <res-ref-name> maps to a connection factory that is in a
    foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI) and not in
    Weblogic's JNDI?
    Thanks in advance for your help.

    I am writing a session bean which sends a JMS message using a non-weblogic JMS
    provider. This bean is marked for CMT and I want the JMS send to participate in
    this CMT as well. My understanding is that I should be able to do this by defining
    a <resource-ref> element in the ejb-jar.xml and a corresponding <resource-descriptor>
    element in the weblogic-ejb-jar.xml file. The bean would then use the <res-ref-name>
    defined under the <resource-ref> element to lookup the connection factory. What
    do I have to put in weblogic-ejb-jar.xml file to make sure that the connection
    factory specified in <res-ref-name> maps to a connection factory that is in a
    foreign JNDI provider (e.g. in the non-Weblogic JMS provider's JNDI) and not in
    Weblogic's JNDI?
    Thanks in advance for your help.

  • [Solved] Cannot access non-executable directories

    After I copied some folders and files from CD I had permission denied trying to access as a normal user.
    So I did
    sudo chown -R doctor:users folder
    sudo chmod -R 777 folder
    After that, the folder and files became executable.
    So, in directory Music/ I had some executable folders and files.
    I thought I can make it all non-executable recursively...
    sudo chmod -R -x Music/
    And now it's non-executable.
    But wait
    [doctor@doctor ~]$ cd Music/
    bash: cd: Music/: Permission denied
    I cannot access non executable folders?!
    After I make them executable again, I can access.
    [doctor@doctor ~]$ chmod -R +x Music/
    [doctor@doctor ~]$ cd Music/
    [doctor@doctor Music]$
    wtf?
    Last edited by Doctor Drive (2010-09-15 12:55:44)

    Didn't get how it works though..
    But a way to solve is
    chmod -R 775 Music
    And for files...
    find ./Music/ -type f -exec chmod 664 {} \;
    Though still didn't get why must folders have different permissions...
    Too much to study that chmod thing...
    Last edited by Doctor Drive (2010-09-15 12:55:18)

  • Weblogic.soap.wsdl.Remote2WSDL

    weblogic.soap.wsdl.Remote2WSDL doesn't create the first line in the JSP:
    <% response.setHeader( "Content-Type", "text/xml; charset=utf-8" ); %>
    that the wsgen Ant task seems to.
    Any clues?

    This is not a supported Tool. Anyway, the following seems
    to work:
    java weblogic.soap.wsdl.Remote2WSDL java.util.Vector /foo/bar
    regards,
    -manoj
    "Johannis Dihayco" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I'm trying to generate the WSDL JSP using the
    weblogic.soap.wsdl.Remote2WSDL
    utility of Weblogic 6.1.
    However I can't seem the jsp file generated contains nothing.
    Do I need to run the utility in a directory containing the ejb jar file? How
    is the EJB_interface path specified? (what is
    meant specifically by fully qualified class name)?
    [att1.html]

  • Is it possible to run Portal 9.2 application on non-weblogic app. servers?

    Hi! I am new in WLP 9.2. We starting migration of 8.1 portal application to wlp 9.2 engine. Is it possible later to run our Portal 9.2 application on non-weblogic app. servers?

    Absolutely not. Weblogic Portal is tightly coupled with Weblogic app server. You can not run it on any other App server.

Maybe you are looking for

  • Can i change the font of all subtitles in one act?

    I want to change to font of all my subtitles in my final cut pro X movie project. And i don't have time to change every single line one by one.. so is there a possibility to change all subtitels in one? sorry for my english thanks!

  • ABAP to XML conversion...need help for XSTL coding

    Hi, I am trying to convert ABAP internal table to XML format. I am using CALL TRANSFORMATION command. But i am not getting the exact conversion of my internal table data as i am lagging in perfection of XSLT coding that i have to maintain(in call tra

  • Digital (optical) audio jerks on and off every second or so

    Sudenly got this annoying problem, when sound on optical audio cuts off and on again repeatedly every second or so. As if there was a wire with bad connection. The optical cable is fine thou, i checked with my other macbook. So that must be a problem

  • How to run an update query on results from a spreadsheet

    Hey there, I am new to this kinda thing. I received a spreadsheet that has 2 tabs, 1 is called SQL Results, and has a ton of data. 1 is called SQL Statement and has a select statement in the first cell. I was told to run an update query using the spr

  • Workspace Preferences -- Setting the right default values

    Good afternoon -- We are in the midst of rolling out Hyperion Planning 9.3.x along with Financial Reporting, SmartView, etc. to a large population (~1000 users). We would like to be able to set and/or reset certain user preferences. The most salient